filebrowser/ui/inc/enginewrapper.h
changeset 24 6053b7ae82ab
parent 17 4f2773374eff
child 25 31fc1277642e
equal deleted inserted replaced
17:4f2773374eff 24:6053b7ae82ab
    16 */
    16 */
    17 
    17 
    18 #ifndef ENGINEWRAPPER_H
    18 #ifndef ENGINEWRAPPER_H
    19 #define ENGINEWRAPPER_H
    19 #define ENGINEWRAPPER_H
    20 
    20 
    21 #include "driveentry.h"
       
    22 #include "fileentry.h"
       
    23 #include "filebrowsersettings.h"
       
    24 
       
    25 #include "engine.h"
       
    26 #include "FBFileUtils.h"
       
    27 #include "FB.hrh"
       
    28 
       
    29 #include <QString>
    21 #include <QString>
    30 #include <QStringList>
    22 #include <QStringList>
    31 #include <QModelIndexList>
    23 #include <QModelIndexList>
       
    24 #include <driveentry.h>
       
    25 #include <fileentry.h>
       
    26 #include <engine.h>
       
    27 
       
    28 #include "filebrowsersettings.h"
       
    29 
       
    30 #include <FBFileUtils.h>
    32 
    31 
    33 class CEngine;
    32 class CEngine;
    34 class SearchAttributes;
    33 class SearchAttributes;
    35 class SearchResults;
    34 class SearchResults;
    36 class FileBrowserView;
    35 class FileBrowserView;
    74      */
    73      */
    75     bool init();
    74     bool init();
    76 
    75 
    77 public: // from MFileBrowserUI
    76 public: // from MFileBrowserUI
    78     /* Functions that are called from engine: */
    77     /* Functions that are called from engine: */
    79     void ShowInformationNote(const TDesC &aDescText, const TDesC &aDescTitle);
    78 //    TInt QueryCurrentItemIndex();
       
    79 
       
    80     void ShowInformationNote(const TDesC& aDescText);
    80     void ShowErrorNote(const TDesC& aDescText, TBool aNoTimeout = EFalse);
    81     void ShowErrorNote(const TDesC& aDescText, TBool aNoTimeout = EFalse);
    81     void ShowConfirmationNote(const TDesC& aDescText, TBool aNoTimeout = EFalse);
    82     void ShowConfirmationNote(const TDesC& aDescText, TBool aNoTimeout = EFalse);
    82     TBool ShowConfirmationQuery(const TDesC& aDescText);
    83     TBool ShowConfirmationQuery(const TDesC& aDescText);
    83 
    84 
    84 public: 
    85 public: 
   156     void ToolsErrorSimulateException(int aExceptionCode);
   157     void ToolsErrorSimulateException(int aExceptionCode);
   157 
   158 
   158     quint32 getDebugMask();
   159     quint32 getDebugMask();
   159     void toolsSetDebugMask(quint32 aDbgMask);
   160     void toolsSetDebugMask(quint32 aDbgMask);
   160 
   161 
   161     void showFileCheckSums(const QModelIndex &aIndex, TFileBrowserCmdFileChecksums checksumType);
       
   162 
       
   163 private:
   162 private:
   164     // FB engine
   163     // FB engine
   165     CEngine *mEngine;
   164     CEngine *mEngine;
   166     // List of found files results for Ui
   165     // List of found files results for Ui
   167     QStringList mFilesFound;
   166     QStringList mFilesFound;