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