~s-cecilio/lenmus/v5.3

« back to all changes in this revision

Viewing changes to src/app/lenmus_book_reader.cpp

  • Committer: cecilios
  • Date: 2012-09-07 17:42:21 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:branches/TRY-5.0:721
initial commit with all changes for 5.1. See changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
bool BookReader::AddBookPagesToList(const wxFileName& oFilename)
212
212
{
213
213
    // Returns true if error.
214
 
    wxLogMessage(_T("[BookReader::AddBookPagesToList] starting"));
 
214
//    wxLogMessage(_T("[BookReader::AddBookPagesToList] starting"));
215
215
 
216
216
    // open the zip file
217
217
    wxString sBookPath = oFilename.GetFullPath();
231
231
        wxString sPageName = pEntry->GetName();
232
232
        if (sPageName.Find(_T(".lms")) != wxNOT_FOUND) {
233
233
            //add entry to pagelist
234
 
            wxLogMessage(_T("[BookReader::AddBookPagesToList] Adding page '%s'"), sPageName.c_str());
 
234
//            wxLogMessage(_T("[BookReader::AddBookPagesToList] Adding page '%s'"), sPageName.c_str());
235
235
            lmPageIndexItem *pItem = LENMUS_NEW lmPageIndexItem();
236
236
            pItem->page = sPageName;
237
237
            pItem->book = sBookPath;
251
251
    // Returns true if success.
252
252
 
253
253
 
254
 
    wxLogMessage(_T("[BookReader::ProcessIndexFile] Processing file %s"),
255
 
            oFilename.GetFullPath().c_str() );
 
254
//    wxLogMessage(_T("[BookReader::ProcessIndexFile] Processing file %s"),
 
255
//            oFilename.GetFullPath().c_str() );
256
256
 
257
257
    wxString sTitle = _T(""),
258
258
             sDefaultPage = _T(""),