|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : HierarchicalColumnListDocument.h 00004 * Part of : Hierarchical Column List Example Application 00005 * Description : Document class for the example application. 00006 * Version : %version: 1 % 00007 * 00008 * Copyright © 2007 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia 00011 * Corporation. 00012 * ============================================================================ 00013 */ 00014 00015 #ifndef C_HIERARCHICALCOLUMNLISTDOCUMENT_H 00016 #define C_HIERARCHICALCOLUMNLISTDOCUMENT_H 00017 00018 00019 #include <akndoc.h> 00020 00021 class CHierarchicalColumnListAppUi; 00022 class CEikApplication; 00023 00024 00025 /** 00026 * An instance of class CHierarchicalColumnListDocument is the Document 00027 * part of the AVKON application framework for the HierarchicalColumnList 00028 * application. 00029 */ 00030 class CHierarchicalColumnListDocument : public CAknDocument 00031 { 00032 00033 public: 00034 00035 /** 00036 * Two phased constructor. Constructs a CHierarchicalColumnListDocument 00037 * for the AVKON application aApp using two phase construction, and 00038 * return a pointer to the created object. 00039 * 00040 * @param aApp application creating this document 00041 * @return a pointer to the created instance of 00042 * CHierarchicalColumnListDocument 00043 */ 00044 static CHierarchicalColumnListDocument* NewL( CEikApplication& aApp ); 00045 00046 /** 00047 * Two phased constructor. Constructs a CHierarchicalColumnListDocument 00048 * for the AVKON application aApp using two phase construction, and 00049 * returns a pointer to the created object. 00050 * 00051 * @param aApp application creating this document 00052 * @return a pointer to the created instance of 00053 * CHierarchicalColumnListDocument 00054 */ 00055 static CHierarchicalColumnListDocument* NewLC( CEikApplication& aApp ); 00056 00057 /** 00058 * Destructor. Destroys the object and releases all memory objects. 00059 */ 00060 ~CHierarchicalColumnListDocument(); 00061 00062 // from base class CAknDocument 00063 00064 /** 00065 * From CAknDocument. 00066 * Create a CHierarchicalColumnListAppUi object and return a pointer to it. 00067 * 00068 * @return a pointer to the created instance of the AppUi created 00069 */ 00070 CEikAppUi* CreateAppUiL(); 00071 00072 private: 00073 00074 /** 00075 * Second phase constructor of a CHierarchicalColumnListDocument object. 00076 */ 00077 void ConstructL(); 00078 00079 /** 00080 * C++ constructor. Performs the first phase of two phase construction. 00081 * 00082 * @param aApp application creating this document 00083 */ 00084 CHierarchicalColumnListDocument( CEikApplication& aApp ); 00085 00086 }; 00087 00088 00089 #endif // C_HIERARCHICALCOLUMNLISTDOCUMENT_H
|
© Nokia 2009 |