|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : FilelistAppui.h 00004 * Part of : Filelist 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 FILELISTAPPUI_H 00017 #define FILELISTAPPUI_H 00018 00019 // INCLUDES 00020 #include <aknappui.h> 00021 00022 // FORWARD DECLARATIONS 00023 class CFilelistContainer; 00024 00025 00026 // CLASS DECLARATION 00027 00028 /** 00029 * Application UI class. 00030 * Provides support for the following features: 00031 * - EIKON control architecture 00032 * 00033 */ 00034 class CFilelistAppUi : public CAknAppUi 00035 { 00036 public: // // Constructors and destructor 00037 00038 /** 00039 * Symbian default constructor. 00040 */ 00041 void ConstructL(); 00042 00043 /** 00044 * Destructor. 00045 */ 00046 ~CFilelistAppUi(); 00047 00048 public: // New functions 00049 00050 private: 00051 // From MEikMenuObserver 00052 void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane); 00053 00054 private: 00055 /** 00056 * From CEikAppUi, takes care of command handling. 00057 * @param aCommand command to be handled 00058 */ 00059 void HandleCommandL(TInt aCommand); 00060 00061 /** 00062 * From CEikAppUi, handles key events. 00063 * @param aKeyEvent Event to handled. 00064 * @param aType Type of the key event. 00065 * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). 00066 */ 00067 virtual TKeyResponse HandleKeyEventL( 00068 const TKeyEvent& aKeyEvent,TEventCode aType); 00069 /** 00070 * From CEikAppUi, handles key events. 00071 * @param aType The type of resources that have changed 00072 */ 00073 virtual void HandleResourceChangeL( TInt aType ); 00074 00075 private: //Data 00076 CFilelistContainer* iAppContainer; 00077 }; 00078 00079 #endif 00080 00081 // End of File
|
© Nokia 2006 |