00001 /* 00002 * Copyright (c) 2009 Nokia Corporation. 00003 */ 00004 00005 #ifndef __CLIENT_DOCUMENT_H__ 00006 #define __CLIENT_DOCUMENT_H__ 00007 00008 #include <akndoc.h> 00009 00013 class CClientAppUi; 00014 class CEikApplication; 00015 00016 class CClientDocument : public CAknDocument 00017 { 00018 public: 00019 /* 00020 * NewL() 00021 * 00022 * Create a CClientDocument object. 00023 * 00024 * Params: 00025 * aApp: Reference to application this document relates. 00026 * 00027 * Returns: 00028 * 00029 * 00030 */ 00031 static CClientDocument* NewL(CEikApplication& aApp); 00032 00033 /* 00034 * NewLC() 00035 * 00036 * Create a CClientDocument object. 00037 * 00038 * Params: 00039 * aApp: Reference to application this document relates. 00040 * 00041 * Returns: 00042 * 00043 * 00044 */ 00045 static CClientDocument* NewLC(CEikApplication& aApp); 00046 00047 /* 00048 * ~CClientDocument() 00049 * 00050 * Destructor for CClientDocument. 00051 * 00052 * Params: 00053 * - 00054 * 00055 * Returns: 00056 * - 00057 * 00058 */ 00059 ~CClientDocument(); 00060 00061 /* 00062 * From CAknDocument 00063 */ 00064 public: 00065 /* 00066 * CreateAppUiL() 00067 * 00068 * Creates the application user interface, and returns a pointer to it; 00069 * the framework takes ownership of this object 00070 * 00071 * Params: 00072 * - 00073 * 00074 * Returns: 00075 * Pointer to created application ui. 00076 * 00077 */ 00078 CEikAppUi* CreateAppUiL(); 00079 00080 private: 00081 /* 00082 * ConstructL() 00083 * 00084 * Second phase construction. 00085 * 00086 * Params: 00087 * - 00088 * 00089 * Returns: 00090 * - 00091 * 00092 */ 00093 void ConstructL(); 00094 00095 /* 00096 * CClientDocument() 00097 * 00098 * First phase construction. 00099 * 00100 * Params: 00101 * aApp: Reference to application this document relates. 00102 * 00103 * Returns: 00104 * - 00105 * 00106 */ 00107 CClientDocument(CEikApplication& aApp); 00108 00109 }; 00110 00111 00112 #endif // __CLIENT_DOCUMENT_H__
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.