|
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 #ifndef __AIWCONSUMERBASICSDOCUMENT_H__ 00008 #define __AIWCONSUMERBASICSDOCUMENT_H__ 00009 00010 // INCLUDES 00011 #include <akndoc.h> 00012 00013 // FORWARD DECLARATIONS 00014 class CAIWConsumerBasicsAppUi; 00015 class CEikApplication; 00016 00017 // CLASS DECLARATION 00018 00019 /** 00020 * CAIWConsumerBasicsDocument application class. 00021 * An instance of class CAIWConsumerBasicsDocument is the Document part of the 00022 * AVKON application framework for the AIWConsumerBasics example application. 00023 */ 00024 class CAIWConsumerBasicsDocument : public CAknDocument 00025 { 00026 public: // Constructors and destructor 00027 00028 /** 00029 * Two-phased constructor. 00030 * Construct a CAIWConsumerBasicsDocument for the AVKON application aApp 00031 * using two phase construction, and return a pointer to the created object. 00032 * @param aApp Application creating this document. 00033 * @return A pointer to the created instance of CAIWConsumerBasicsDocument. 00034 */ 00035 static CAIWConsumerBasicsDocument* NewL( CEikApplication& aApp ); 00036 00037 /** 00038 * Two-phased constructor. 00039 * Construct a CAIWConsumerBasicsDocument for the AVKON application aApp 00040 * using two phase construction, and return a pointer to the created object. 00041 * @param aApp Application creating this document. 00042 * @return A pointer to the created instance of CAIWConsumerBasicsDocument. 00043 */ 00044 static CAIWConsumerBasicsDocument* NewLC( CEikApplication& aApp ); 00045 00046 /** 00047 * Virtual Destructor. 00048 */ 00049 virtual ~CAIWConsumerBasicsDocument(); 00050 00051 public: // Functions from base classes 00052 00053 /** 00054 * From CEikDocument. 00055 * Create a CAIWConsumerBasicsAppUi object and return a pointer to it. 00056 * The object returned is owned by the Uikon framework. 00057 * @return Pointer to created instance of AppUi. 00058 */ 00059 CEikAppUi* CreateAppUiL(); 00060 00061 private: // Constructors 00062 00063 /** 00064 * 2nd phase constructor. 00065 */ 00066 void ConstructL(); 00067 00068 /** 00069 * C++ default constructor. 00070 * @param aApp Application creating this document. 00071 */ 00072 CAIWConsumerBasicsDocument( CEikApplication& aApp ); 00073 }; 00074 00075 #endif // __AIWCONSUMERBASICSDOCUMENT_H__ 00076 00077 // End of File
|
© Nokia 2009 |