example3dcontainer.h

来自「symbian 60 3d 的一个很经典的例子」· C头文件 代码 · 共 62 行

H
62
字号
    /*
    *
============================================================================
    *  Name     : Example3DContainer.h
    *  Part of  : Example3D
    *  Created  : 12/14/2003 by Forum Nokia
    *  Description:
    *     This is the project specification file for Example3D.
    *     Initial content was generated by Series 60 AppWizard.
    *
    *  Version  : 1.0.0
    *  Copyright: Forum Nokia
    *
============================================================================
    */

#ifndef __EXAMPLE3DCONTAINER_H__
#define __EXAMPLE3DCONTAINER_H__

// INCLUDES
#include <coecntrl.h>
#include <coemain.h>
   
// FORWARD DECLARATIONS
class CEngine;

// CLASS DECLARATION

/**
*  CExample3DContainer  container control class.
*  
*/
class CExample3DContainer 
	: public CCoeControl
	, public MCoeForegroundObserver
    {
    public: // Constructors and destructor
        
        
        /// Second phase constructor.
        /// @param aRect Frame rectangle for container.
        void ConstructL( const TRect& aRect );

        /// Destructor
        ~CExample3DContainer();

    private: // From CCoeCotrol:

		TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);

	private: // From MCoeForegroundObserver

		void HandleGainingForeground();
		void HandleLosingForeground();
        
    private: //data
        
		CEngine*	iEngine;
    };

#endif

⌨️ 快捷键说明

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