|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : helpexampleappui.h 00004 * Part of : Help example 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004 - 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 __HELPEXAMPLE_APPUI_H__ 00017 #define __HELPEXAMPLE_APPUI_H__ 00018 00019 // INCLUDES 00020 #include <aknappui.h> 00021 00022 // FORWARD DECLARATION 00023 class CHelpExampleAppView; 00024 00025 /** 00026 * CHelpExampleAppUi 00027 * An instance of class CHelpExampleAppUi is the UserInterface part of the 00028 * AVKON application framework for the HelpExample example application 00029 */ 00030 00031 class CHelpExampleAppUi : public CAknAppUi 00032 { 00033 public: // Constructors and destructor. 00034 00035 /** 00036 * ConstructL() 00037 * Perform the second phase construction of a CHelpExampleAppUi 00038 * object this needs to be public due to the way the framework 00039 * constructs the AppUi 00040 */ 00041 void ConstructL(); 00042 00043 /** 00044 * CHelpExampleAppUi() 00045 * Perform the first phase of two phase construction. 00046 * This needs to be public due to the way the framework 00047 * constructs the AppUi 00048 */ 00049 CHelpExampleAppUi(); 00050 00051 /** 00052 * ~CHelpExampleAppUi() 00053 * Destroy the object 00054 */ 00055 virtual ~CHelpExampleAppUi(); 00056 00057 00058 public: // from CAknAppUi 00059 00060 /** 00061 * HandleCommandL() 00062 * Handle user menu selections 00063 * @param aCommand The enumerated code for the option selected 00064 */ 00065 void HandleCommandL( TInt aCommand ); 00066 00067 private: // from CAknAppUi 00068 00069 /** 00070 * HelpContextL() 00071 * Return the help context for this application 00072 * @return A pointer to the help context 00073 */ 00074 CArrayFix<TCoeHelpContext>* HelpContextL() const; 00075 00076 private: // data 00077 00078 /** 00079 * iAppView 00080 * The application view 00081 * Owned by CHelpExampleAppUi 00082 */ 00083 CHelpExampleAppView* iAppView; 00084 }; 00085 00086 00087 #endif // __HELPEXAMPLE_APPUI_H__ 00088 00089 // End of File
|
© Nokia 2009 |