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

📄 multitapengine.h

📁 Symbian平台 数字键盘手机输入法源码
💻 H
字号:
#ifndef FEPMULTITAPENGINE_H
#define FEPMULTITAPENGINE_H

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

// Forward declarations
class CExampleFepMultiTapTimer;
class CeQTapControl;


class CExampleFepMultiTapEngine : public CBase
{
	public:
		CExampleFepMultiTapEngine(CeQTapControl& aControl);
		~CExampleFepMultiTapEngine();
		  // Static construction
		static CExampleFepMultiTapEngine* NewL (CeQTapControl& aControl);

		  // Second phase construction
		void ConstructL();

		TPtrC AppendCharacter(TUint aKeyCode);
		TPtrC DeleteCharacter(void);
		void ClearBuffer(void);
		TPtrC Buffer(void);
		TBool IsActive();	// Is MultiTap timer active
		void Cancel();    // Cancel multitap timer

		void SetUpper(TBool bUpper){m_bIsUpper= bUpper;}
	
	private:
		static TInt TimerTimeout(TAny* aPtr);
		TInt DoTimerTimeout();

	private:
		CeQTapControl*			m_peQTapCtrl;	// not owned
		TBuf<128>					iBuffer;
		TInt						iKeyPos;
		TUint						iPreviousMultiTapKeyCode;
		CExampleFepMultiTapTimer*	iMultiTapTimer;
		TBool						m_bIsUpper;
};

#endif // FEPMULTITAPENGINE_H

// end of file

⌨️ 快捷键说明

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