mario2dappui.h

来自「symbian 下的mario游戏源代码」· C头文件 代码 · 共 56 行

H
56
字号
   /*
============================================================================
    * Name : CMario2DAppUi.h
    * Part of : 2DExample
    * Description : Definition of CMario2DAppUi
    * Copyright (c) 2007 Nokia Corporation
============================================================================
    */

#ifndef __MARIO2DAPPUI_H__
#define __MARIO2DAPPUI_H__

// FORWARD DECLARATIONS
class CMario2DContainer;


// CLASS DECLARATION

	// We use CAknAppUi in series 60
	// because with it we can change the
	// KeyBlockMode..
	// with CEikAppUi we cant do it.
#include <aknappui.h>
#include <aknsoundsystem.h>

class CMario2DAppUi : public CAknAppUi
    {
    public: // Constructors and destructor

		/**
		* Second phase constructor
		*/
        void ConstructL();
        
		/**
		* Destructor
		*/
		~CMario2DAppUi();

    private:

        void HandleCommandL( TInt aCommand );
        
        void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aControl);

    private: //Data

        CMario2DContainer* iAppContainer;
	  CAknKeySoundSystem* iSoundSystem;

    };

#endif

// End of file

⌨️ 快捷键说明

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