COOPY » Guide
version 0.6.5
|
00001 #ifndef COOPY_FORMAT_INC 00002 #define COOPY_FORMAT_INC 00003 00004 #include <string> 00005 00006 namespace coopy { 00007 namespace format { 00008 class Format; 00009 00010 enum { 00011 FORMAT_UNKNOWN, 00012 FORMAT_PATCH_CSV, 00013 FORMAT_PATCH_TDIFF, 00014 FORMAT_PATCH_HUMAN, 00015 FORMAT_BOOK_SQLITE, 00016 FORMAT_BOOK_CSVS, 00017 }; 00018 } 00019 } 00020 00021 00022 class coopy::format::Format { 00023 public: 00024 int id; 00025 std::string name; 00026 00027 Format() { 00028 id = FORMAT_UNKNOWN; 00029 name = "unknown"; 00030 } 00031 }; 00032 00033 #endif 00034