COOPY » Guide
version 0.6.5
|
00001 #ifndef COOPY_MERGEOUTPUTPOOL 00002 #define COOPY_MERGEOUTPUTPOOL 00003 00004 #include <coopy/MergeOutput.h> 00005 00006 #include <string> 00007 #include <vector> 00008 00009 namespace coopy { 00010 namespace cmp { 00011 class MergeOutputPool; 00012 } 00013 } 00014 00015 class coopy::cmp::MergeOutputPool : public MergeOutput { 00016 private: 00017 std::string sheet_name; 00018 public: 00019 virtual bool wantDiff() { return true; } 00020 00021 virtual bool setSheet(const char *name) { 00022 sheet_name = name; 00023 return true; 00024 } 00025 00026 virtual bool needOutputBook() { 00027 return true; 00028 } 00029 00030 virtual bool changePool(const PoolChange& change) { 00031 return applyPool(change); 00032 } 00033 }; 00034 00035 #endif