countdown.h

来自「symbian下的几个小例子。。很值得学习」· C头文件 代码 · 共 33 行

H
33
字号
// countdown.h
//
// Copyright (c) Symbian Software Ltd 1999 - 2007.  All rights reserved.
//

#ifndef __COUNTDOWN_H
#define __COUNTDOWN_H

class CSimpleExAppView;

class CCountdown : public CActive
	{
public:
    static CCountdown* NewL(CSimpleExAppView* aAppView);
    ~CCountdown();
    void StartCountdown();
    void Stop();
protected:
	void RunL();
	void DoCancel();
private:    
	CCountdown();
    void ConstructL(CSimpleExAppView* aAppView);
private:
    TInt iCount;
    RTimer iTimer;
    TInt iInterval;
	CSimpleExAppView* iAppView;
	};

#endif

⌨️ 快捷键说明

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