|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : LbsReferenceAppUi.h 00004 * Part of : LBSReference example application 00005 * Interface : 00006 * Description : This class functions as controller of the application 00007 * Version : 1.0 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 LBSREFERENCEAPPUI_H 00017 #define LBSREFERENCEAPPUI_H 00018 00019 // INCLUDES 00020 #include <aknappui.h> 00021 00022 // FORWARD DECLARATIONS 00023 class CLbsReferenceContainer; 00024 00025 /** 00026 * Application UI class. 00027 * Provides support for the following features: 00028 * - UIKON control architecture 00029 * 00030 */ 00031 class CLbsReferenceAppUi : public CAknAppUi 00032 { 00033 public: // Constructors and destructor 00034 00035 /** 00036 * Symbian OS default constructor. 00037 */ 00038 void ConstructL(); 00039 00040 /** 00041 * Destructor. 00042 */ 00043 ~CLbsReferenceAppUi(); 00044 00045 private: // Functions from base classes 00046 00047 // ----------------------------------------------------------------------------- 00048 // From CEikAppUi, handles key events. 00049 // @param aKeyEvent Event to handled. 00050 // @param aType Type of the key event. 00051 // @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). 00052 // ----------------------------------------------------------------------------- 00053 // 00054 virtual TKeyResponse HandleKeyEventL( 00055 const TKeyEvent& aKeyEvent,TEventCode aType); 00056 00057 // ----------------------------------------------------------------------------- 00058 // From CEikAppUi, takes care of command handling. 00059 // @param aCommand command to be handled 00060 // ----------------------------------------------------------------------------- 00061 // 00062 void HandleCommandL(TInt aCommand); 00063 00064 00065 private: //Data 00066 00067 CLbsReferenceContainer* iAppContainer; // App container 00068 00069 00070 }; 00071 00072 #endif //LBSREFERENCEAPPUI_H 00073 00074 // End of File
|
© Nokia 2006 |