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