|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : ccontdocument.h 00004 * Part of : Contacts database 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 __CCONTDOCUMENT_H__ 00017 #define __CCONTDOCUMENT_H__ 00018 00019 // INCLUDES 00020 #include <akndoc.h> 00021 00022 // FORWARD DECLARATIONS 00023 class CEikAppUi; 00024 00025 // CLASS DECLARATION 00026 00027 /** 00028 * CContDocument application class. 00029 */ 00030 class CContDocument : public CAknDocument 00031 { 00032 public: // Constructors and destructor 00033 /** 00034 * NewL 00035 * Construct a CContDocument for the AVKON application aApp 00036 * using two phase construction, and return a pointer to the created object 00037 * @param aApp application creating this document 00038 * @return a pointer to the created instance of CContDocument 00039 */ 00040 static CContDocument* NewL(CEikApplication& aApp); 00041 00042 /** 00043 * ~CContDocument 00044 * Destroy the object and release all memory objects 00045 * Destructor is always virtual 00046 */ 00047 virtual ~CContDocument(); 00048 00049 private: 00050 00051 /** 00052 * CContDocument 00053 * Perform the first phase of two phase construction 00054 * @param aApp application creating this document 00055 */ 00056 CContDocument(CEikApplication& aApp); 00057 00058 /** 00059 * ConstructL 00060 * Perform the second phase construction of a 00061 * CContDocument object 00062 */ 00063 void ConstructL(); 00064 00065 private: 00066 00067 /** 00068 * CreateAppUiL 00069 * Create a CContAppUi object and return a pointer to it 00070 * @return a pointer to the created instance of the AppUi created 00071 */ 00072 CEikAppUi* CreateAppUiL(); 00073 }; 00074 00075 #endif // __CCONTDOCUMENT_H__ 00076 00077 // End of File 00078
|
© Nokia 2009 |