|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : ChatDocument.h 00004 * Part of : Chat 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2005-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 CHATDOCUMENT_H 00017 #define CHATDOCUMENT_H 00018 00019 // INCLUDES 00020 #include <akndoc.h> 00021 00022 // CONSTANTS 00023 00024 // FORWARD DECLARATIONS 00025 class CEikAppUi; 00026 00027 // CLASS DECLARATION 00028 00029 /** 00030 * CChatDocument application class. 00031 */ 00032 class CChatDocument : public CAknDocument 00033 { 00034 public: // Constructors and destructor 00035 /** 00036 * Two-phased constructor. 00037 */ 00038 static CChatDocument* NewL(CEikApplication& aApp); 00039 00040 /** 00041 * Destructor. 00042 */ 00043 virtual ~CChatDocument(); 00044 00045 public: // New functions 00046 00047 public: // Functions from base classes 00048 00049 protected: // New functions 00050 00051 protected: // Functions from base classes 00052 00053 private: 00054 00055 /** 00056 * default constructor. 00057 */ 00058 CChatDocument(CEikApplication& aApp); 00059 00060 void ConstructL(); 00061 00062 private: 00063 00064 /** 00065 * From CEikDocument, create CChatAppUi "App UI" object. 00066 */ 00067 CEikAppUi* CreateAppUiL(); 00068 }; 00069 00070 #endif // CHATDOCUMENT_H 00071 00072 // End of File 00073
|
© Nokia 2006 |