|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : aknexpoplistdocument.h 00004 * Part of : Popup-list example 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 #ifndef __AKNEXPOPLISTDOCUMENT_H__ 00017 #define __AKNEXPOPLISTDOCUMENT_H__ 00018 00019 00020 // INCLUDES 00021 #include <eikdoc.h> 00022 00023 00024 // FORWARD DECLARATIONS 00025 class CEikAppUi; 00026 00027 00028 00029 // CLASS DECLARATION 00030 00031 /** 00032 * CAknExPopListDocument application class. 00033 */ 00034 class CAknExPopListDocument : public CEikDocument 00035 { 00036 public: // Constructors and destructor 00037 00038 /** 00039 * NewL 00040 * Two-phased constructor. 00041 * Construct a CAknExPopListDocument for the AVKON application aApp. 00042 * Using two phase construction, and return a pointer to the created object. 00043 * @param aApp Application creating this document. 00044 * @return A pointer to the created instance of CAknExPopListDocument. 00045 */ 00046 static CAknExPopListDocument* NewL( CEikApplication& aApp ); 00047 00048 00049 /** 00050 * NewLC 00051 * Two-phased constructor. 00052 * Construct a CAknExPopListDocument for the AVKON application aApp. 00053 * Using two phase construction, and return a pointer to the created object. 00054 * @param aApp Application creating this document. 00055 * @return A pointer to the created instance of CAknExPopListDocument. 00056 */ 00057 static CAknExPopListDocument* NewLC( CEikApplication& aApp ); 00058 00059 /** 00060 * ~CAknExPopListDocument 00061 * Virtual Destructor. 00062 */ 00063 virtual ~CAknExPopListDocument(); 00064 00065 00066 private: // Constructors 00067 00068 /** 00069 * CAknExPopListDocument. 00070 * C++ default constructor. 00071 * @param aApp Reference to Application class object 00072 */ 00073 CAknExPopListDocument( CEikApplication& aApp ); 00074 00075 00076 /** 00077 * ConstructL 00078 * 2nd phase constructor. 00079 */ 00080 void ConstructL(); 00081 00082 private: // From CEikDocument 00083 00084 /** 00085 * CreateAppUiL 00086 * From CEikDocument, CreateAppUiL. 00087 * Create a CAknExPopListAppUi object and return a pointer to it. 00088 * The object returned is owned by the Uikon framework. 00089 * @return Pointer to created instance of AppUi. 00090 */ 00091 CEikAppUi* CreateAppUiL(); 00092 }; 00093 00094 #endif // __AKNEXPOPLISTDOCUMENT_H__ 00095 00096 // End of File 00097
|
© Nokia 2009 |