|
Nokia N97 SDK Example Applications Guide |
00001 /** 00002 * Copyright (c) 2007 Nokia Corporation. 00003 * This material, including documentation and any related 00004 * computer programs, is protected by 00005 * copyright controlled by Nokia Corporation. 00006 */ 00007 00008 00009 #ifndef __CHOICELISTEX_APPUI_H__ 00010 #define __CHOICELISTEX_APPUI_H__ 00011 00012 // INCLUDES 00013 #include <aknappui.h> 00014 00015 // FORWARD DECLARATIONS 00016 class CChoiceListExContainer; 00017 00018 // CLASS DECLARATION 00019 /** 00020 * CChoiceListExAppUi application UI class. 00021 * Interacts with the user through the UI and request message processing 00022 * from the handler class 00023 */ 00024 class CChoiceListExAppUi : public CAknAppUi 00025 { 00026 public: 00027 00028 /** 00029 * ConstructL. 00030 * 2nd phase constructor. 00031 */ 00032 void ConstructL(); 00033 00034 /** 00035 * CChoiceListExAppUi. 00036 * C++ default constructor. This needs to be public due to 00037 * the way the framework constructs the AppUi 00038 */ 00039 CChoiceListExAppUi(); 00040 00041 /** 00042 * ~CChoiceListExAppUi. 00043 * Virtual Destructor. 00044 */ 00045 virtual ~CChoiceListExAppUi(); 00046 00047 public: // from CEikAppui 00048 00049 /** 00050 * From CEikAppUi, HandleCommandL. 00051 * Takes care of command handling. 00052 * @param aCommand Command to be handled. 00053 */ 00054 void HandleCommandL( TInt aCommand ); 00055 00056 public: // from MEikMenuObserver 00057 00058 /* 00059 * From MEikMenuObserver, DynInitMenuPaneL 00060 * Called by the framework to update options menu 00061 * @param aResourceId The ID of the menu pane. 00062 * @param aMenuPane The menu pane itself. 00063 */ 00064 void DynInitMenuPaneL( TInt aMenuId, CEikMenuPane* aMenuPane ); 00065 00066 private: // data 00067 00068 /* 00069 * Pointer to the container 00070 * own 00071 */ 00072 CChoiceListExContainer* iAppContainer; 00073 00074 /* 00075 * Flags for options menu updating 00076 */ 00077 TBitFlags iMenuFlags; 00078 00079 }; 00080 00081 00082 #endif // __CHOICELISTEX_APPUI_H__ 00083
|
© Nokia 2009 |