|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : guiengineapplication.h 00004 * Part of : GuiEngine 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004 - 2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 00017 #ifndef __GUIENGINEAPPLICATION_H__ 00018 #define __GUIENGINEAPPLICATION_H__ 00019 00020 00021 // INCLUDES 00022 #include <aknapp.h> 00023 00024 00025 // CONSTANTS 00026 // UID for the application; this should correspond to the uid defined in the mmp file 00027 const TUid KUidGuiEngineUi = { 0xA00001F5 }; 00028 const TUid KUidEngineDll = { 0xA00001F6 }; 00029 00030 00031 // CLASS DECLARATION 00032 00033 /** 00034 * CGuiEngineApplication 00035 * An instance of CGuiEngineApplication is the application part of the CKON 00036 * application framework for the GuiEngine example application 00037 */ 00038 00039 class CGuiEngineApplication : public CAknApplication 00040 { 00041 public: // from CAknApplication 00042 00043 public: // from CAknApplication 00044 00045 /** 00046 * From CApaApplication, 00047 * Return the application UID value 00048 * @return The Uid 00049 */ 00050 TUid AppDllUid() const; 00051 00052 public: 00053 00054 /** 00055 * Returns the Uid of the application engine. Needed 00056 * when storing and receiving the model data.. 00057 * @return The Uid of the application engine. 00058 */ 00059 TUid EngineDllUid() const; 00060 00061 00062 protected: // from CAknApplication 00063 00064 /** 00065 * From CApaApplication, CreateDocumentL. 00066 * Create a CApaDocument object and return a pointer to it 00067 * @return A pointer to the created document object. 00068 */ 00069 CApaDocument* CreateDocumentL(); 00070 }; 00071 00072 #endif // __GUIENGINEAPPLICATION_H__ 00073 00074 00075 // End of File
|
© Nokia 2009 |