00001 /* 00002 * Copyright (c) 2009 Nokia Corporation. 00003 */ 00004 00005 #ifndef __CLIENT_APPUI_H__ 00006 #define __CLIENT_APPUI_H__ 00007 00008 #include <aknappui.h> 00009 00010 #include <aknmessagequerydialog.h> 00011 00012 /* 00013 * Forward declarations 00014 */ 00015 class CClientAppView; 00016 class CClientEngine; 00017 00018 class CClientAppUi : public CAknAppUi 00019 { 00020 public: 00021 /* 00022 * ConstructL() 00023 * 00024 * Perform the second phase construction of a CClientAppUi object. 00025 * 00026 * Params: 00027 * - 00028 * 00029 * Returns: 00030 * - 00031 * 00032 */ 00033 void ConstructL(); 00034 00035 /* 00036 * CClientAppUi() 00037 * 00038 * First phase construction of CClientAppUi. 00039 * 00040 * Params: 00041 * - 00042 * 00043 * Returns: 00044 * - 00045 * 00046 */ 00047 CClientAppUi(); 00048 00049 /* 00050 * ~CClientAppUi() 00051 * 00052 * Destructor for CClientAppUi. 00053 * 00054 * Params: 00055 * - 00056 * 00057 * Returns: 00058 * - 00059 * 00060 */ 00061 ~CClientAppUi(); 00062 00063 /* 00064 * from CAknAppUi 00065 */ 00066 public: 00067 /* 00068 * HandleCommandL() 00069 * 00070 * Handles user commands. 00071 * 00072 * Params: 00073 * aCommand: Command ID. 00074 * 00075 * Returns: 00076 * - 00077 * 00078 */ 00079 void HandleCommandL(TInt aCommand); 00080 00081 /* 00082 * DynInitMenuPaneL() 00083 * 00084 * Provides dynamic initialization of the menu pane. 00085 * Called by framework when menu pane is activated. 00086 * 00087 * Params: 00088 * aMenuId: Resource ID identifying the menu pane to initialise. 00089 * aMenuPane: The in-memory representation of the menu pane. 00090 * 00091 * Returns: 00092 * - 00093 * 00094 */ 00095 void DynInitMenuPaneL(TInt aMenuId, CEikMenuPane* aMenuPane); 00096 00097 private: // from CAknAppUi 00098 00099 /* 00100 * HelpContextL() 00101 * 00102 * Return the help context for this application 00103 * 00104 * Returns: 00105 * A pointer to the help context 00106 * 00107 */ 00108 CArrayFix<TCoeHelpContext>* HelpContextL() const; 00109 00110 private: 00111 CClientAppView* iAppView; 00112 CClientEngine* iEngine; 00113 }; 00114 00115 #endif // __CLIENT_APPUI_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.