|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : guiengineapplication.cpp 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 // INCLUDE FILES 00017 #include "GuiEngineDocument.h" 00018 #include "GuiEngineApplication.h" 00019 00020 00021 // ========================= MEMBER FUNCTIONS ================================== 00022 00023 // ----------------------------------------------------------------------------- 00024 // CGuiEngineApplication::CreateDocumentL() 00025 // Create an GuiEngine document, and return a pointer to it 00026 // ----------------------------------------------------------------------------- 00027 // 00028 CApaDocument* CGuiEngineApplication::CreateDocumentL() 00029 { 00030 return (static_cast<CApaDocument*>( CGuiEngineDocument::NewL( *this ) ) ); 00031 } 00032 00033 00034 // ---------------------------------------------------------------------------- 00035 // CGuiEngineApplication::AppDllUid() 00036 // Return the UID for the Ui 00037 // ---------------------------------------------------------------------------- 00038 // 00039 TUid CGuiEngineApplication::AppDllUid() const 00040 { 00041 return KUidGuiEngineUi; 00042 } 00043 00044 00045 // ---------------------------------------------------------------------------- 00046 // CGuiEngineApplication::EngineDllUid() 00047 // Return the UID for the GuiEngine dll 00048 // ---------------------------------------------------------------------------- 00049 // 00050 TUid CGuiEngineApplication::EngineDllUid() const 00051 { 00052 return KUidEngineDll; 00053 } 00054 00055 00056 // End of File
|
© Nokia 2009 |