|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : LandmarksApplication.cpp 00004 * Part of : Landmarks Reference Application 00005 * Interface : - 00006 * Description : Implementation of CLandmarksApplication 00007 * Version : 1.0 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 "LandmarksDocument.h" 00018 #include "LandmarksApplication.h" 00019 00020 // CONSTANTS 00021 // UID for the application, this should match the uid defined in the mmp file. 00022 static const TUid KUidLandmarksApp = {0xA0000187}; 00023 00024 // ============================ MEMBER FUNCTIONS =============================== 00025 00026 // ----------------------------------------------------------------------------- 00027 // CLandmarksApplication::CreateDocumentL 00028 // 00029 // (other items were commented in a header). 00030 // ----------------------------------------------------------------------------- 00031 // 00032 CApaDocument* CLandmarksApplication::CreateDocumentL() 00033 { 00034 // Create an Landmarks document, and return a pointer to it 00035 CApaDocument* document = CLandmarksDocument::NewL(*this); 00036 return document; 00037 } 00038 00039 // ----------------------------------------------------------------------------- 00040 // CLandmarksApplication::AppDllUid 00041 // 00042 // (other items were commented in a header). 00043 // ----------------------------------------------------------------------------- 00044 // 00045 TUid CLandmarksApplication::AppDllUid() const 00046 { 00047 // Return the UID for the Landmarks application 00048 return KUidLandmarksApp; 00049 } 00050 00051 // End of File 00052
|
© Nokia 2006 |