|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : OomExampleDocument.h 00004 * Part of : OomMonitor Example Application 00005 * Description : ?Description 00006 * Version : %version: 1 % << Don't touch! Updated by Synergy at check-out. 00007 * 00008 * Copyright © 2009 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 * Template version: 4.2 00018 */ 00019 00020 #ifndef __OOMEXAMPLEDOCUMENT_h__ 00021 #define __OOMEXAMPLEDOCUMENT_h__ 00022 00023 #include <akndoc.h> 00024 00025 class COomExampleAppUi; 00026 class CEikApplication; 00027 00028 /** 00029 * COomExampleDocument application class. 00030 * An instance of class COomExampleDocument is the Document part of the 00031 * AVKON application framework for the OomExample example application. 00032 */ 00033 class COomExampleDocument : public CAknDocument 00034 { 00035 public: 00036 // Constructors and destructor 00037 00038 /** 00039 * NewL. 00040 * Two-phased constructor. 00041 * Construct a COomExampleDocument for the AVKON application aApp 00042 * using two phase construction, and return a pointer 00043 * to the created object. 00044 * @param aApp Application creating this document. 00045 * @return A pointer to the created instance of COomExampleDocument. 00046 */ 00047 static COomExampleDocument* NewL(CEikApplication& aApp); 00048 00049 /** 00050 * NewLC. 00051 * Two-phased constructor. 00052 * Construct a COomExampleDocument for the AVKON application aApp 00053 * using two phase construction, and return a pointer 00054 * to the created object. 00055 * @param aApp Application creating this document. 00056 * @return A pointer to the created instance of COomExampleDocument. 00057 */ 00058 static COomExampleDocument* NewLC(CEikApplication& aApp); 00059 00060 /** 00061 * ~COomExampleDocument 00062 * Virtual Destructor. 00063 */ 00064 virtual ~COomExampleDocument(); 00065 00066 public: 00067 // Functions from base classes 00068 00069 /** 00070 * CreateAppUiL 00071 * From CEikDocument, CreateAppUiL. 00072 * Create a COomExampleAppUi object and return a pointer to it. 00073 * The object returned is owned by the Uikon framework. 00074 * @return Pointer to created instance of AppUi. 00075 */ 00076 CEikAppUi* CreateAppUiL(); 00077 00078 private: 00079 // Constructors 00080 00081 /** 00082 * ConstructL 00083 * 2nd phase constructor. 00084 */ 00085 void ConstructL(); 00086 00087 /** 00088 * COomExampleDocument. 00089 * C++ default constructor. 00090 * @param aApp Application creating this document. 00091 */ 00092 COomExampleDocument(CEikApplication& aApp); 00093 00094 }; 00095 00096 #endif // __OOMEXAMPLEDOCUMENT_h__ 00097 // End of File
|
© Nokia 2009 |