creator/inc/engine.h
changeset 35 98924d2efce9
parent 34 e0ec97ec3cc4
child 48 da3ec8478e66
equal deleted inserted replaced
34:e0ec97ec3cc4 35:98924d2efce9
    44 class TCommand;
    44 class TCommand;
    45 class CCreatorBrowser;
    45 class CCreatorBrowser;
    46 class CCreatorCalendarBase;
    46 class CCreatorCalendarBase;
    47 class CCreatorNotepad;
    47 class CCreatorNotepad;
    48 class CCreatorLogs;
    48 class CCreatorLogs;
    49 class CCreatorAccessPoints;
    49 //class CCreatorAccessPoints;
    50 class CCreatorMailboxes;
    50 class CCreatorMailboxes;
    51 class CCreatorIMPS;
    51 class CCreatorIMPS;
    52 class CCreatorFiles;
    52 class CCreatorFiles;
    53 class CCreatorMessages;
    53 class CCreatorMessages;
    54 class CCreatorLandmarks;
    54 class CCreatorLandmarks;
    55 class MCreatorModuleBase;
    55 class MCreatorModuleBase;
    56 class CCreatorPhonebookBase;
    56 class CCreatorPhonebookBase;
    57 class CCreatorModuleBaseParameters;
    57 class CCreatorModuleBaseParameters;
    58 class CCreatorConnectionSettingsBase;
    58 //class CCreatorConnectionSettingsBase;
    59 class CDictionaryFileStore;
    59 class CDictionaryFileStore;
    60 class CImageDecoder;
    60 class CImageDecoder;
    61 class CFbsBitmap;
    61 class CFbsBitmap;
    62 class CBitmapScaler;
    62 class CBitmapScaler;
    63 class CCommandParser;
    63 class CCommandParser;
   127  * Device memory information
   127  * Device memory information
   128  */
   128  */
   129 class TMemoryDetails
   129 class TMemoryDetails
   130 	{
   130 	{
   131 public:
   131 public:
   132     TBuf<16> iCFree;
   132 	
   133     TBuf<16> iDFree;
   133 	TBuf<16> iFree;
   134     TBuf<16> iEFree;
   134 	TBuf<16> iSize;
   135     TBuf<16> iHFree;
   135 	TChar iDriveLetter;
   136 	TBuf<16> iCSize;
   136 
   137     TBuf<16> iDSize;
   137     TBuf<16> iRamFree;
       
   138     TBuf<16> iRomFree;
       
   139     
   138 	TBool    iENotAvailable;
   140 	TBool    iENotAvailable;
   139     TBuf<16> iESize;
   141 
   140 	TBuf<16> iHSize;
   142 	TBuf<16> iRamSize;
       
   143 	TBuf<16> iRomSize;
   141 	};
   144 	};
   142 // Common constant for undefined integer value:
   145 // Common constant for undefined integer value:
   143 const TInt KUndef = KErrNotFound;
   146 const TInt KUndef = KErrNotFound;
   144 
   147 
   145 class CCreatorEngine : public CActive, public MUIObserver, public MCommandParserObserver
   148 class CCreatorEngine : public CActive, public MUIObserver, public MCommandParserObserver
   236      * Constructor: NewLC
   239      * Constructor: NewLC
   237      */
   240      */
   238     static CCreatorEngine* NewLC(EngineWrapper *aEngineWrapper);	
   241     static CCreatorEngine* NewLC(EngineWrapper *aEngineWrapper);	
   239     ~CCreatorEngine();
   242     ~CCreatorEngine();
   240 	
   243 	
       
   244     inline RPointerArray<TMemoryDetails> GetMemoryDetailsList(){ return iMemoryDetailsList; };
   241 	inline TMemoryDetails GetMemoryDetails(){ return iMemoryDetails; };
   245 	inline TMemoryDetails GetMemoryDetails(){ return iMemoryDetails; };
   242 	inline EngineWrapper* GetEngineWrapper(){ return iEngineWrapper; };
   246 	inline EngineWrapper* GetEngineWrapper(){ return iEngineWrapper; };
   243 	
   247 	
   244 private:
   248 private:
   245     CCreatorEngine();
   249     CCreatorEngine();
   404     CCreatorBrowser* iBrowser;
   408     CCreatorBrowser* iBrowser;
   405     CCreatorCalendarBase* iCalendar;
   409     CCreatorCalendarBase* iCalendar;
   406     CCreatorPhonebookBase* iPhonebook;
   410     CCreatorPhonebookBase* iPhonebook;
   407     CCreatorNotepad* iNotepad;
   411     CCreatorNotepad* iNotepad;
   408     CCreatorLogs* iLogs;
   412     CCreatorLogs* iLogs;
   409     CCreatorConnectionSettingsBase* iAccessPoints;
   413 //    CCreatorConnectionSettingsBase* iAccessPoints;
   410     CCreatorMailboxes* iMailboxes;
   414     CCreatorMailboxes* iMailboxes;
   411     CCreatorIMPS* iIMPS;
   415     CCreatorIMPS* iIMPS;
   412     CCreatorFiles* iFiles;
   416     CCreatorFiles* iFiles;
   413     CCreatorMessages* iMessages;
   417     CCreatorMessages* iMessages;
   414     CCreatorLandmarks* iLandmarks;
   418     CCreatorLandmarks* iLandmarks;
   433     CFrameImageData* iFrameImageData;
   437     CFrameImageData* iFrameImageData;
   434     CBitmapScaler* iScaler;
   438     CBitmapScaler* iScaler;
   435 
   439 
   436     EngineWrapper* iEngineWrapper; // Enginewrapper that is used for communicating between QT and Symbian
   440     EngineWrapper* iEngineWrapper; // Enginewrapper that is used for communicating between QT and Symbian
   437 	TMemoryDetails iMemoryDetails;
   441 	TMemoryDetails iMemoryDetails;
       
   442 	
       
   443 	RPointerArray<TMemoryDetails> iMemoryDetailsList;
       
   444 	
   438 	TInt iResourceFileId;
   445 	TInt iResourceFileId;
   439 
   446 
   440 	HBufC* iCommandLineScriptName;
   447 	HBufC* iCommandLineScriptName;
   441 	HBufC* iCommandLineRandomDataFileName;
   448 	HBufC* iCommandLineRandomDataFileName;
   442 	};
   449 	};