| 47 |
~WikiData(); |
~WikiData(); |
| 48 |
const wxString* getFileName(); |
const wxString* getFileName(); |
| 49 |
const wxString* getSubject(); |
const wxString* getSubject(); |
| 50 |
|
const wxString* getOldSubject(); |
| 51 |
const wxString* getDate(); |
const wxString* getDate(); |
| 52 |
const wxString* getText(); |
const wxString* getText(); |
| 53 |
void modText(wxString* text); |
void modText(wxString* text); |
| 57 |
|
|
| 58 |
private: |
private: |
| 59 |
wxString* subject; |
wxString* subject; |
| 60 |
|
wxString* oldSubject; |
| 61 |
wxString* dataDirName; |
wxString* dataDirName; |
| 62 |
wxString* fileName; |
wxString* fileName; |
| 63 |
wxString* date; |
wxString* date; |
| 83 |
bool normalSearch(char* tokenList[], FILE*fp, char* decodeFileNameBuf); |
bool normalSearch(char* tokenList[], FILE*fp, char* decodeFileNameBuf); |
| 84 |
bool typeSearch(char* typeStr, FILE*fp); |
bool typeSearch(char* typeStr, FILE*fp); |
| 85 |
void addWikiData(WikiData* wikiData); |
void addWikiData(WikiData* wikiData); |
| 86 |
void addSearchStr(wxString* searchStr); |
bool addSearchStr(wxString* searchStr); |
| 87 |
void addSearchList(wxString* searchStr, WikiList* list); |
void addSearchList(wxString* searchStr, WikiList* list); |
| 88 |
void removeSearchStr(wxString searchStr); |
void removeSearchStr(wxString searchStr); |
| 89 |
void modSearchStr(wxString* oldStr, wxString* newStr); |
void modSearchStr(wxString* oldStr, wxString* newStr); |
| 90 |
const wxArrayString* getSearchStrList(); |
const wxArrayString* getSearchStrList(); |
| 91 |
const WikiList* getSearchResultList(wxString* searchStr); |
const WikiList* getSearchResultList(wxString* searchStr); |
| 92 |
void addSearchResultList(wxString* searchStr, WikiData* addData); |
void addSearchResultList(wxString* searchStr, WikiData* addData); |
| 93 |
|
bool delSearchResultList(wxString* searchStr, WikiData* delData); |
| 94 |
WikiData* newWikiData(); |
WikiData* newWikiData(); |
| 95 |
const wxString* getWikiDataDir(); |
const wxString* getWikiDataDir(); |
| 96 |
|
void clearSearchStrList(); |
| 97 |
|
void clearSearchResultList(); |
| 98 |
private: |
private: |
| 99 |
wxString* wikiDataDir; |
wxString* wikiDataDir; |
| 100 |
wxArrayString* searchStrList; |
wxArrayString* searchStrList; |