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

📄 cflashinghello.h

📁 symbian活动对象的例子
💻 H
字号:
// CFlashingHello.h
//
// Copyright (c) 2002 Symbian Ltd.  All rights reserved.

#ifndef __CFLASHINGHELLO_H__
#define	__CFLASHINGHELLO_H__

#include <e32base.h>

class CActiveHelloAppView;

// flashing hello
// BEWARE - this active object has drawing code in its destructor

class CFlashingHello : public CActive
	{
public:
	// Construct/destruct
	static CFlashingHello* NewL(CActiveHelloAppView* aAppView);
	~CFlashingHello();

	// Request
	void Start(TTimeIntervalMicroSeconds32 aHalfPeriod);

private:
	// Construct/destruct
	CFlashingHello();
	void ConstructL(CActiveHelloAppView* aAppView);

	// from CActive
	void RunL();
	void DoCancel();

	// Utility
	void ShowText(TBool eShowText);

private:
	// Member variables
	RTimer iTimer;
	TTimeIntervalMicroSeconds32 iHalfPeriod;

	// Pointers elsewhere
	CActiveHelloAppView* iAppView;
	};

#endif	// __CFLASHINGHELLO_H__

⌨️ 快捷键说明

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