|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : LandmarksDocument.h 00004 * Part of : Landmark Reference Application 00005 * Interface : - 00006 * Description : See class description below 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 #ifndef __LANDMARKS_DOCUMENT_H__ 00017 #define __LANDMARKS_DOCUMENT_H__ 00018 00019 // INCLUDES 00020 #include <akndoc.h> 00021 00022 // FORWARD DECLARATIONS 00023 class CLandmarksAppUi; 00024 class CEikApplication; 00025 00026 // CLASS DECLARATION 00027 00028 /** 00029 * An instance of CLandmarksDocument is the application part of the Avkon 00030 * application framework for the Landmarks reference application 00031 */ 00032 class CLandmarksDocument : public CAknDocument 00033 { 00034 public: // Constructors and destructor 00035 00036 /** 00037 * Two-phased constructor. 00038 * 00039 * @param aApp an eikon application instance 00040 */ 00041 static CLandmarksDocument* NewL(CEikApplication& aApp); 00042 00043 /** 00044 * Destructor. 00045 */ 00046 ~CLandmarksDocument(); 00047 00048 public: // from CAknDocument 00049 00050 /** 00051 * CreateAppUiL creates a CLandmarksAppUi object and return a pointer 00052 * to it. 00053 * 00054 * @return a pointer to the created instance of the AppUi created 00055 */ 00056 CEikAppUi* CreateAppUiL(); 00057 00058 private: 00059 00060 /** 00061 * C++ constructor. 00062 */ 00063 CLandmarksDocument(CEikApplication& aApp); 00064 00065 /** 00066 * By default Symbian 2nd phase constructor is private. 00067 */ 00068 void ConstructL(); 00069 00070 }; 00071 00072 #endif // __LANDMARKS_DOCUMENT_H__ 00073 00074 // End of File 00075
|
© Nokia 2006 |