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

📄 mguardkeycapture.h,v

📁 symbian s60手机上的短信拦截源代码。
💻 H,V
字号:
head	1.1;access;symbols	v1_0:1.1.1.1	xueyw:1.1.1	v111:1.1.1.1	MGuard:1.1.1;locks; strict;comment	@ * @;1.1date	2007.08.22.11.21.32;	author administrator;	state Exp;branches	1.1.1.1;next	;deltatype	text;permissions	644;commitid	2e046cc1c3b37f2;kopt	kv;filename	@MGuardKeyCapture.h@;1.1.1.1date	2007.08.22.11.31.31;	author administrator;	state Exp;branches;next	;deltatype	text;permissions	644;commitid	81046cc1e913f93;kopt	kv;filename	@MGuardKeyCapture.h@;desc@@1.1log@sc take care of  the lock/unlock of the screen@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.1.1.1log@no message@text@@

⌨️ 快捷键说明

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