|
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 __STYLUSPOPUPMENUEX_APPUI_H__ 00010 #define __STYLUSPOPUPMENUEX_APPUI_H__ 00011 00012 // INCLUDES 00013 #include <aknappui.h> 00014 #include <eikmobs.h> 00015 // FORWARD DECLARATIONS 00016 class CStylusPopupMenuExContainer; 00017 00018 // CLASS DECLARATION 00019 /** 00020 * CStylusPopupMenuExAppUi application UI class. 00021 * Interacts with the user through the UI and request message processing 00022 * from the handler class 00023 */ 00024 class CStylusPopupMenuExAppUi : public CAknAppUi 00025 { 00026 public: 00027 00028 /** 00029 * ConstructL. 00030 * 2nd phase constructor. 00031 */ 00032 void ConstructL(); 00033 00034 /** 00035 * CStylusPopupMenuExAppUi. 00036 * C++ default constructor. This needs to be public due to 00037 * the way the framework constructs the AppUi 00038 */ 00039 CStylusPopupMenuExAppUi(); 00040 00041 /** 00042 * ~CStylusPopupMenuExAppUi. 00043 * Virtual Destructor. 00044 */ 00045 virtual ~CStylusPopupMenuExAppUi(); 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 void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane *aMenuPane); 00057 private: // data 00058 00059 /* 00060 * Pointer to the container 00061 * own 00062 */ 00063 CStylusPopupMenuExContainer* iAppContainer; 00064 00065 /** 00066 * From CEikAppUi, HandleResourceChangeL. 00067 * Handles resource changes. 00068 * @param aType Resource change type to be handled 00069 */ 00070 //void HandleResourceChangeL( TInt aType ); 00071 00072 }; 00073 00074 #endif // __STYLUSPOPUPMENUEX_APPUI_H__ 00075
|
© Nokia 2009 |