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

📄 jishiqi.h

📁 在Symbian OS S60 3rd上面
💻 H
字号:
/*
 ============================================================================
 Name		: jishiqi.h
 Author	  : 
 Version	 : 1.0
 Copyright   : Your copyright notice
 Description : Cjishiqi declaration
 ============================================================================
 */

#ifndef JISHIQI_H
#define JISHIQI_H

// INCLUDES
#include <e32std.h>
#include <e32base.h>

class CImageTestAppView;
class MTimeOutNotifier
{
public:
	/*!
	@function TimerExpired

	@discussion The function to be called when a timeout occurs
	*/
	virtual void TimerExpired() = 0;
	virtual void TimerExpired1() = 0;
};

// CLASS DECLARATION

/**
 *  Cjishiqi
 * 
 */
class Cjishiqi : public CTimer
	{
public:
	// Constructors and destructor

	/**
	 * Destructor.
	 */
	~Cjishiqi();

	/**
	 * Two-phased constructor.
	 */
	static Cjishiqi* NewL(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify);

	/**
	 * Two-phased constructor.
	 */
	static Cjishiqi* NewLC(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify);

public: // New Methods

		/**
		* Start timer 
		*/	
		void Start( TTimeIntervalMicroSeconds32 aFirstInterval  = 1);

		/**
		* Stop timer 
		*/			
		void Stop();
		TBool GetStatus();
protected: // From CTimer
/*!
  @function RunL

  @discussion Invoked when a timeout occurs
  */
    virtual void RunL();
private:

	/**
	 * Constructor for performing 1st stage construction
	 */
	Cjishiqi(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify);

	/**
	 * EPOC default constructor for performing 2nd stage construction
	 */
	void ConstructL();
private:	
	MTimeOutNotifier& iNotify;
	TBool iRunning;
	enum TStatus
	{
	status0 = 0x30,
	status1
	};

public:
	TInt INFINITY;
	CImageTestAppView* aContainer;
	};

#endif // JISHIQI_H

⌨️ 快捷键说明

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