|
Nokia N97 SDK Example Applications Guide |
00001 /** 00002 * Copyright (c) 2007 Nokia Corporation. 00003 * This material, including documentation and any related 00004 * computer programs, is protected by 00005 * copyright controlled by Nokia Corporation. 00006 */ 00007 00008 // INCLUDE FILES 00009 #include "UEExDocument.h" 00010 #include "UEExApplication.h" 00011 00012 // ============================ MEMBER FUNCTIONS =============================== 00013 00014 // UID for the application; 00015 // this should correspond to the uid defined in the mmp file 00016 static const TUid KUidUEExApp = {0xA000027A}; 00017 00018 // ----------------------------------------------------------------------------- 00019 // CUEExApplication::CreateDocumentL() 00020 // Creates CApaDocument object 00021 // ----------------------------------------------------------------------------- 00022 // 00023 CApaDocument* CUEExApplication::CreateDocumentL() 00024 { 00025 // Create an UEEx document, and return a pointer to it 00026 CApaDocument* document = CUEExDocument::NewL( *this ); 00027 return document; 00028 } 00029 00030 // ----------------------------------------------------------------------------- 00031 // CUEExApplication::AppDllUid() 00032 // Returns application UID 00033 // ----------------------------------------------------------------------------- 00034 // 00035 TUid CUEExApplication::AppDllUid() const 00036 { 00037 // Return the UID for the UEEx application 00038 return KUidUEExApp; 00039 } 00040
|
© Nokia 2009 |