example2dappui.h

来自「基于SYMBIAN OS,series 60平台的经典游戏,超级马力」· C头文件 代码 · 共 61 行

H
61
字号
/*
* ============================================================================
*  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 <eikappui.h>
	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 <aknappui.h>
	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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?