www.pudn.com > SystemSounds_Example_v1_0.zip > SystemSoundsAppUi.h


/* 
* ============================================================================ 
*  Name     : CSystemSoundsAppUi from SystemSoundsAppUi.h 
*  Part of  : SystemSounds 
*  Created  : 06/12/2003 by Forum Nokia 
*  Description: 
*     Declares UI class for application. 
*  Version  : 
*  Copyright: Nokia 
* ============================================================================ 
*/ 
 
#ifndef SYSTEMSOUNDSAPPUI_H 
#define SYSTEMSOUNDSAPPUI_H 
 
// INCLUDES 
#include  
#include  
#include  
#include  
#include  
#include  
#include  
 
// FORWARD DECLARATIONS 
class CSystemSoundsContainer; 
 
 
// CONSTANTS 
//const ?type ?constant_var = ?constant; 
 
 
// CLASS DECLARATION 
 
/** 
* Application UI class. 
* Provides support for the following features: 
* - EIKON control architecture 
* - view architecture 
* - status pane 
*  
*/ 
class CSystemSoundsAppUi : public CAknViewAppUi 
    { 
    public: // // Constructors and destructor 
 
        /** 
        * EPOC default constructor. 
        */       
        void ConstructL(); 
 
        /** 
        * Destructor. 
        */       
        ~CSystemSoundsAppUi(); 
         
    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 
        CAknNavigationControlContainer* iNaviPane; 
        CAknTabGroup*                   iTabGroup; 
        CAknNavigationDecorator*        iDecoratedTabGroup; 
    }; 
 
#endif 
 
// End of File