cflashinghello.h
来自「symbian活动对象的例子」· C头文件 代码 · 共 46 行
H
46 行
// 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 + =
减小字号Ctrl + -
显示快捷键?