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

📄 mguardkeycapture.h,v

📁 symbian s60手机上的短信拦截源代码。
💻 H,V
字号:
head	1.3;access;symbols	arelease:1.1.1.1	avendor:1.1.1;locks; strict;comment	@ * @;1.3date	2007.08.22.11.15.42;	author administrator;	state Exp;branches;next	1.2;deltatype	text;permissions	644;commitid	26446cc1add337c;kopt	kv;filename	@MGuardKeyCapture.h@;1.2date	2007.07.30.13.21.33;	author administrator;	state Exp;branches;next	1.1;deltatype	text;permissions	644;commitid	95046ade5dc0ebf;kopt	kv;filename	@MGuardKeyCapture.h@;1.1date	2007.07.24.10.59.30;	author administrator;	state Exp;branches	1.1.1.1;next	;deltatype	text;permissions	644;1.1.1.1date	2007.07.24.10.59.30;	author administrator;	state Exp;branches;next	;deltatype	text;permissions	644;desc@@1.3log@capture left arrow key only@text@/** ============================================================================*  Name     :  MGuardKeyCapture.h*  Part of  :  MGuard*  Created  :  July 21 2007 by xueyw*  Description:*  Copyright: * ============================================================================*/#ifndef __MGUARDKEYCAPTURE_H__#define __MGUARDKEYCAPTURE_H__//  Include Files#include <e32base.h>#include <w32std.h>  // RWsSession// Forward declarationsclass RWindowGroup;class CApaWindowGroupName;class CGuardKeyCapturer : public CActive {public:	// New functions	/** 	* Registers itself for the key press events	* @@leave Symbian standard leave codes	*/	void StartCapturingL();	void StopCapturingL();	void ResumeCapturingL();	~CGuardKeyCapturer();public:	CGuardKeyCapturer();	public:	// From CActive	/**	* Is called by active scheduler when key press happens	*/	void RunL();	public:	TBool	IsCaptureStarted()	{		return iCaptureStarted;	}			TBool	IsCatpurePending()	{		return iCapturePending;	}		enum	{		EMaxKeyCount = 160	};protected:	/**	* Is called when event listening should be stopped	*/	virtual void DoCancel();	private:	// Data	// Session to the window server	RWsSession 				iWsSession;	// Window group created to listed to the events	RWindowGroup* 			iWindowGroup;	// Is used to hide window from the task switcher	CApaWindowGroupName* 	iWindowGroupName;	// Handle to the capturing request	TInt32 					iCaptureHandle[EMaxKeyCount];	TInt					iCaptureHandleCount;	// Handle to the second capturing request	TInt32 					iLongCaptureHandle;	// Number of keypresses already captured	TInt 					iCaptureCounter;	TBool					iCaptureStarted;	TBool					iCapturePending;};#endif  // __MGUARDKEYCAPTURE_H__// End of file@1.2log@singleton@text@a38 6	static CGuardKeyCapturer& GetInstance() 	{		return iKeyCapture;	}	private:d50 1a50 1	TBool	IsCatpureStarted()a92 2		static	CGuardKeyCapturer iKeyCapture;@1.1log@Initial revision@text@d37 8d46 1d99 2@1.1.1.1log@no message@text@@

⌨️ 快捷键说明

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