filebrowser/engine/FBFileUtils.cpp
changeset 29 1c71b77fbc93
parent 28 4cc0d1a608c1
child 31 e7a04a6385be
equal deleted inserted replaced
28:4cc0d1a608c1 29:1c71b77fbc93
    23 #include <filebrowser.rsg>
    23 #include <filebrowser.rsg>
    24 
    24 
    25 #include <textresolver.h> 
    25 #include <textresolver.h> 
    26 #include <eikprogi.h>
    26 #include <eikprogi.h>
    27 #include <f32file.h>
    27 #include <f32file.h>
       
    28 #include <e32svr.h>
    28 #include <eikfutil.h>
    29 #include <eikfutil.h>
    29 #include <apparc.h>
    30 #include <apparc.h>
    30 #include <apaid.h>
    31 #include <apaid.h>
    31 #include <apaidpartner.h>
    32 #include <apaidpartner.h>
    32 #include <eikenv.h>
    33 #include <eikenv.h>
  1394 //        }
  1395 //        }
  1395     
  1396     
  1396     // update view
  1397     // update view
  1397     RefreshViewL();
  1398     RefreshViewL();
  1398     
  1399     
  1399     if ( iEngine->Settings().iRememberFolderSelection &&
  1400     if (iEngine->Settings().iRememberFolderSelection
  1400          iEngine->FileListContainer() && iPrevFolderIndex > KErrNotFound )
  1401         //&& iEngine->FileListContainer()
       
  1402         && iPrevFolderIndex > KErrNotFound )
  1401         {
  1403         {
  1402         
  1404         
  1403 //        TInt visibleItems = iEngine->FileListContainer()->ListBox()->Rect().Height() /
  1405 //        TInt visibleItems = iEngine->FileListContainer()->ListBox()->Rect().Height() /
  1404 //                            iEngine->FileListContainer()->ListBox()->ItemHeight()
  1406 //                            iEngine->FileListContainer()->ListBox()->ItemHeight()
  1405 //                            - 1; // for the title row
  1407 //                            - 1; // for the title row