Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
MalonNote
MalonNote
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (1)
Help (1)
Help
Mailing Lists
list of ML
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse CVS Repository
/
[OSDN]
/
malonnote
/
mnModel.cpp
Diff of /malonnote/mnModel.cpp
Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
revision
1.31
by
maloninc
, Tue Jan 3 11:24:44 2006 UTC
revision
1.32
by
maloninc
, Fri Oct 20 09:36:08 2006 UTC
#
Line 109
bool mnModel::matchWithToken(wxString* f
Line 109
bool mnModel::matchWithToken(wxString* f
109
return ans;
return ans;
110
}
}
111
112
void mnModel::readAll( void )
113
{
114
int i;
115
wxDir* dir;
116
WikiData* wikiData;
117
wxString* fileName = new wxString();
118
char* tokenList[MAX_TOKEN];
119
120
memset(tokenList, 0, sizeof(char*)*MAX_TOKEN);
121
tokenList[0] = "";
122
123
dir = new wxDir(*wikiDataDir);
124
if ( !dir->IsOpened() )
125
{
126
MN_FATAL_ERROR(wxT("wxDir has faild\n"));
127
return ;
128
}
129
130
bool cont = dir->GetFirst(fileName, wxT("*.txt"), wxDIR_FILES);
131
while(cont){
132
133
matchWithToken(fileName, tokenList); /* match with token list, but never match, just read. */
134
135
cont = dir->GetNext(fileName);
136
}
137
138
delete dir;
139
delete fileName;
140
}
141
142
WikiList* mnModel::search(const char* searchStr)
WikiList* mnModel::search(const char* searchStr)
143
{
{
144
int i;
int i;
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.1.31
changed lines
Added in v.1.32
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26