Subversion Repositories spk

Rev

Rev 84 | Rev 94 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 84 Rev 88
Line 18... Line 18...
18
 
18
 
19
void CTextDB::parseTextFile(int iFromPage, int iToPage, const Utils::String &sFile, int iLang)
19
void CTextDB::parseTextFile(int iFromPage, int iToPage, const Utils::String &sFile, int iLang)
20
{
20
{
21
	// open and read the text file
21
	// open and read the text file
22
	CFileIO File(sFile);
22
	CFileIO File(sFile);
23
	CyStringList *lines = File.ReadLinesStr();
23
	//CyStringList *lines = File.ReadLinesStr();
24
	if ( File.startRead() ) {
24
	if ( File.startRead() ) {
25
		while ( !File.atEnd() ) {
25
		while ( !File.atEnd() ) {
26
			this->_parseFileLine(iFromPage, iToPage, iLang, File.readEndOfLine());
26
			this->_parseFileLine(iFromPage, iToPage, iLang, File.readEndOfLine());
27
		}
27
		}
28
		File.close();
28
		File.close();