www.pudn.com > ExeLauncher.zip > ExeLauncherAppui.h


/* 
* ============================================================================ 
*  Name     : CExeLauncherAppUi from ExeLauncherAppui.h 
*  Part of  : ExeLauncher 
*  Created  : 01.09.2005 by Artem Marchenko 
*  Description: 
*     Declares UI class for application. 
*  Version  : 
*  Copyright: Artem Marchenko 2005 
* ============================================================================ 
*/ 
 
#ifndef EXELAUNCHERAPPUI_H 
#define EXELAUNCHERAPPUI_H 
 
// INCLUDES 
#include  
 
// FORWARD DECLARATIONS 
class CExeLauncherContainer; 
 
 
// CLASS DECLARATION 
 
/** 
* Application UI class. 
* Provides support for the following features: 
* - EIKON control architecture 
*  
*/ 
class CExeLauncherAppUi : public CAknAppUi 
    { 
    public: // // Constructors and destructor 
 
        /** 
        * EPOC default constructor. 
        */       
        void ConstructL(); 
 
        /** 
        * Destructor. 
        */       
        ~CExeLauncherAppUi(); 
         
    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 
        CExeLauncherContainer* iAppContainer;  
    }; 
 
#endif 
 
// End of File