| 4 |
#include <wx/wx.h> |
#include <wx/wx.h> |
| 5 |
#include <wx/treebase.h> |
#include <wx/treebase.h> |
| 6 |
|
|
| 7 |
|
#include "config.h" |
| 8 |
|
|
| 9 |
#define MAX_WIKI_TEXT_SIZE 10000 |
#define MAX_WIKI_TEXT_SIZE 10000 |
| 10 |
#define MAX_BUF_SIZE 1024 |
#define MAX_BUF_SIZE 1024 |
| 11 |
#define EXT_TAG ".txt" |
#define EXT_TAG ".txt" |
| 12 |
#define DATE_TAG ":''DATE'':" |
#define DATE_TAG ":''DATE'':" |
| 13 |
#define NEW_DATA DATE_TAG " %Y/%m/%d %H:%M:%S\n\n:''TYPE'': memo\n---------------------------------------------------------\n" |
#define NEW_DATA DATE_TAG " %Y/%m/%d %H:%M:%S\n\n:''TYPE'': memo\n---------------------------------------------------------\n" |
| 14 |
|
|
| 15 |
#define CODE_SET_EUC_JP "eucJP" |
#define CODE_SET_EUC_JP "euc-jp" |
| 16 |
#ifdef __WXMAC__ |
#ifdef __WXMAC__ |
| 17 |
#define CODE_SET_SYSTEM "SJIS" |
#define CODE_SET_SYSTEM "CP932" |
| 18 |
#endif |
#endif |
| 19 |
#ifdef __WXCOCOA__ |
#ifdef __WXCOCOA__ |
| 20 |
#define CODE_SET_SYSTEM "SJIS" |
#define CODE_SET_SYSTEM "CP932" |
| 21 |
#endif |
#endif |
| 22 |
#ifdef __WXMSW__ |
#ifdef __WXMSW__ |
| 23 |
#define CODE_SET_SYSTEM "SJIS" |
#define CODE_SET_SYSTEM "CP932" |
| 24 |
#endif |
#endif |
| 25 |
#ifdef __WXMOTIF__ |
#ifdef __WXMOTIF__ |
| 26 |
#define CODE_SET_SYSTEM "eucJP" |
#define CODE_SET_SYSTEM "eucJP" |
| 27 |
#endif |
#endif |
| 28 |
#ifdef __WXGTK__ |
#ifdef __WXGTK__ |
| 29 |
#define CODE_SET_SYSTEM "eucJP" |
#define CODE_SET_SYSTEM "euc-jp" |
| 30 |
#endif |
#endif |
| 31 |
#ifdef __WXX11__ |
#ifdef __WXX11__ |
| 32 |
#define CODE_SET_SYSTEM "eucJP" |
#define CODE_SET_SYSTEM "eucJP" |
| 74 |
void modSearchStr(wxString* oldStr, wxString* newStr); |
void modSearchStr(wxString* oldStr, wxString* newStr); |
| 75 |
const wxArrayString* getSearchStrList(); |
const wxArrayString* getSearchStrList(); |
| 76 |
WikiData* newWikiData(); |
WikiData* newWikiData(); |
| 77 |
|
const wxString* getWikiDataDir(); |
| 78 |
|
|
| 79 |
private: |
private: |
| 80 |
wxString* wikiDataDir; |
wxString* wikiDataDir; |