Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnModel.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.15 by maloninc, Tue Sep 20 06:29:53 2005 UTC revision 1.22 by maloninc, Mon Oct 23 08:00:09 2006 UTC
# Line 6  Line 6 
6    
7  #include "config.h"  #include "config.h"
8    
9  #define MAX_WIKI_TEXT_SIZE 10000  #define MAX_WIKI_TEXT_SIZE (1048576*5)
10  #define MAX_TOKEN          32  #define MAX_TOKEN          32
11  #define MAX_BUF_SIZE       1024  #define MAX_BUF_SIZE       1024
12  #define EXT_TAG             ".txt"  #define EXT_TAG             ".txt"
13  #define DATE_TAG            ":''DATE'':"  #define DATE_TAG            ":''DATE'':"
14  #define TYPE_TAG            ":''TYPE'':"  #define TYPE_TAG            ":''TYPE'':"
15  #define NEW_DATA            DATE_TAG " %Y/%m/%d %H:%M:%S\n\n" TYPE_TAG " memo\n---------------------------------------------------------\n"  #define NEW_DATA            DATE_TAG " %Y/%m/%d %H:%M:%S\n\n" TYPE_TAG " memo\n---------------------------------------------------------\n"
16    #define NEW_DATA_TEMPLATE   "new.template"
17    
18  #define ALLMEMO_TAG         "malon-all"  #define ALLMEMO_TAG         "malon-all"
19  #define TYPESEARCH_TAG      "malon-type:"  #define TYPESEARCH_TAG      "malon-type:"
20    
21  #define CODE_SET_EUC_JP     "euc-jp"  #define CODE_SET_EUC_JP     "eucJP"
22  #ifdef __WXMAC__  #ifdef __WXMAC__
23          #define CODE_SET_SYSTEM "CP932"          #define CODE_SET_SYSTEM "CP932"
24  #endif  #endif
# Line 64  private: Line 65  private:
65          wxString* fileName;          wxString* fileName;
66          wxString* date;          wxString* date;
67          wxString* text;          wxString* text;
68            bool      isWriteToFile;
69  };  };
70    
71  /* Search Result List */  /* Search Result List */
# Line 81  public: Line 83  public:
83          bool makeSearchToken(const char* searchStr, char* tokenList[]);          bool makeSearchToken(const char* searchStr, char* tokenList[]);
84          bool matchWithToken(wxString* fileName, char* tokenList[]);          bool matchWithToken(wxString* fileName, char* tokenList[]);
85      WikiList* search(const char* searchStr);      WikiList* search(const char* searchStr);
86            void readAll(bool progBarFlag);
87          void group();          void group();
88          bool normalSearch(char* tokenList[], FILE*fp, char* decodeFileNameBuf);          bool normalSearch(char* tokenList[], FILE*fp, char* decodeFileNameBuf);
89          bool typeSearch(char* typeStr, FILE*fp);          bool typeSearch(char* typeStr, FILE*fp);

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.22

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26