S60 5th Edition SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : helloworldbasicappui.h 00004 * Part of : Helloworldbasic 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2005-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 __HELLOWORLDBASICAPPUI_H__ 00017 #define __HELLOWORLDBASICAPPUI_H__ 00018 00019 // INCLUDES 00020 #include <aknappui.h> 00021 00022 // FORWARD DECLARATIONS 00023 class CHelloWorldBasicAppView; 00024 00025 00026 // CLASS DECLARATION 00027 /** 00028 * CHelloWorldBasicAppUi application UI class. 00029 * Interacts with the user through the UI and request message processing 00030 * from the handler class 00031 */ 00032 class CHelloWorldBasicAppUi : public CAknAppUi 00033 { 00034 public: // Constructors and destructor 00035 00036 /** 00037 * ConstructL. 00038 * 2nd phase constructor. 00039 */ 00040 void ConstructL(); 00041 00042 /** 00043 * CHelloWorldBasicAppUi. 00044 * C++ default constructor. This needs to be public due to 00045 * the way the framework constructs the AppUi 00046 */ 00047 CHelloWorldBasicAppUi(); 00048 00049 /** 00050 * ~CHelloWorldBasicAppUi. 00051 * Virtual Destructor. 00052 */ 00053 virtual ~CHelloWorldBasicAppUi(); 00054 00055 private: // Functions from base classes 00056 00057 /** 00058 * From CEikAppUi, HandleCommandL. 00059 * Takes care of command handling. 00060 * @param aCommand Command to be handled. 00061 */ 00062 void HandleCommandL( TInt aCommand ); 00063 00064 /** 00065 * HandleResourceChangeL() 00066 * Called by framework when layout is changed. 00067 * @param aType the type of resources that have changed 00068 */ 00069 void HandleResourceChangeL( TInt aType ); 00070 00071 private: // Data 00072 00073 /** 00074 * The application view 00075 * Owned by CHelloWorldBasicAppUi 00076 */ 00077 CHelloWorldBasicAppView* iAppView; 00078 00079 }; 00080 00081 #endif // __HELLOWORLDBASICAPPUI_H__ 00082 00083 // End of File 00084
© Nokia 2009 |