⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 renderao.h

📁 这个是symbian下的一个蛮庞大的3D游戏源代码!对于学习3D开发的人有很大的帮助!
💻 H
字号:
////////////////////////////////////////////////////////////////////////
//
// RenderAO.h - minimal active object implementation. Used for 
//              rendering by CDirectScreenBitmap
//
// Copyright (c) 2006 Nokia Corporation.  All rights reserved.
//
////////////////////////////////////////////////////////////////////////

#ifndef __RENDERAO_H__

#include <e32base.h>

class CRenderActive : public CActive
  {
public:
    CRenderActive();    
    void Activate() { SetActive(); }
    TRequestStatus* Status() { return &iStatus; }
    
private:
  void DoCancel() { /* nothing to do */ }
  void RunL() { /* nothing to do */ } 
  };

// construct with priority and add us to the scheduler
CRenderActive::CRenderActive()
: CActive(CActive::EPriorityHigh)
	{
	CActiveScheduler::Add(this);
	}

#endif __RENDERAO_H__

⌨️ 快捷键说明

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