www.pudn.com > symbianex.rar > HelloWorldAppUi.h
/* * ============================================================================ * Name : CHelloWorldAppUi from HelloWorldAppUi.h * Part of : HelloWorld * Created : 2006-3-9 by Hewei * Description: * Declares UI class for application. * Version : * Copyright: * ============================================================================ */ #ifndef HELLOWORLDAPPUI_H #define HELLOWORLDAPPUI_H // INCLUDES #include#include #include #include #include // FORWARD DECLARATIONS class CHelloWorldContainer; // CLASS DECLARATION /** * Application UI class. * Provides support for the following features: * - EIKON control architecture * */ class CHelloWorldAppUi : public CAknAppUi { public: // // Constructors and destructor /** * EPOC default constructor. */ void ConstructL(); /** * Destructor. */ ~CHelloWorldAppUi(); public: // New functions public: // Functions from base classes private: // From MEikMenuObserver void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane); private: /** * From CEikAppUi, takes care of command handling. * @param aCommand command to be handled */ void HandleCommandL(TInt aCommand); /** * From CEikAppUi, handles key events. * @param aKeyEvent Event to handled. * @param aType Type of the key event. * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). */ virtual TKeyResponse HandleKeyEventL( const TKeyEvent& aKeyEvent,TEventCode aType); private: //Data CHelloWorldContainer* iAppContainer; }; #endif // End of File