|
Nokia N97 SDK Example Applications Guide |
00001 00002 /* 00003 * ============================================================================== 00004 * Name : MyViewDocument.h 00005 * Part of : MyView 00006 * Interface : 00007 * Description : Declares document for application 00008 * Version : 00009 * 00010 * Copyright (c) 2002 - 2007 Nokia Corporation. 00011 * This material, including documentation and any related 00012 * computer programs, is protected by copyright controlled by 00013 * Nokia Corporation. 00014 * ============================================================================== 00015 */ 00016 00017 #ifndef MYVIEWDOCUMENT_H 00018 #define MYVIEWDOCUMENT_H 00019 00020 // INCLUDES 00021 #include <akndoc.h> 00022 00023 // FORWARD DECLARATIONS 00024 class CEikAppUi; 00025 00026 // CLASS DECLARATION 00027 00028 /** 00029 * CMyViewDocument application class. 00030 */ 00031 class CMyViewDocument : public CAknDocument 00032 { 00033 public: // Constructors and destructor 00034 /** 00035 * Two-phased constructor. 00036 */ 00037 static CMyViewDocument* NewL(CEikApplication& aApp); 00038 00039 /** 00040 * Destructor. 00041 */ 00042 virtual ~CMyViewDocument(); 00043 00044 private: 00045 00046 /** 00047 * EPOC default constructor. 00048 */ 00049 CMyViewDocument(CEikApplication& aApp); 00050 void ConstructL(); 00051 00052 private: 00053 00054 /** 00055 * From CEikDocument, create CMyViewAppUi "App UI" object. 00056 */ 00057 CEikAppUi* CreateAppUiL(); 00058 }; 00059 00060 #endif 00061 00062 // End of File 00063
|
© Nokia 2009 |