www.pudn.com > Example2D.rar > Example2DAppui.h


/* 
* ============================================================================ 
*  Name     : CExample2DAppUi from Example2DAppui.h 
*  Part of  : Example2D 
*  Created  : 23.09.2005 by  
*  Description: 
*     Declares UI class for application. 
*  Version  : 
*  Copyright:  
* ============================================================================ 
*/ 
 
#ifndef __EXAMPLE2DAPPUI_H__ 
#define __EXAMPLE2DAPPUI_H__ 
 
// FORWARD DECLARATIONS 
class CExample2DContainer; 
 
 
// CLASS DECLARATION 
 
#ifdef __SERIES_90__ 
	#include  
	class CExample2DAppUi : public CEikAppUi 
#else 
	// We use CAknAppUi in series 60 
	// because with it we can change the 
	// KeyBlockMode.. 
	// with CEikAppUi we cant do it. 
	// and in series 90 CAknAppUi is not supported. 
	#include  
	class CExample2DAppUi : public CAknAppUi 
#endif 
    { 
    public: // Constructors and destructor 
 
		/** 
		* Second phase constructor 
		*/ 
        void ConstructL(); 
         
		/** 
		* Destructor 
		*/ 
		~CExample2DAppUi(); 
 
    private: 
 
        void HandleCommandL( TInt aCommand ); 
         
        void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aControl); 
 
    private: //Data 
 
        CExample2DContainer* iAppContainer; 
    }; 
 
#endif 
 
// End of file