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

📄 mguardkeycapture.h.bak,v

📁 symbian s60手机上的短信拦截源代码。
💻 BAK,V
字号:
head     1.1;branch   1.1.1;access   ;symbols 	arelease:1.1.1.1	avendor:1.1.1;locks    ; strict;comment  @# @;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     ;permissions	644;desc@@1.1log@Initial revision@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();	CGuardKeyCapturer();public:	// From CActive	/**	* Is called by active scheduler when key press happens	*/	void RunL();	public:	TBool	IsCatpureStarted()	{		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					D:\VCMauiTests\VC71 DotNET Windows Forms Application Project\VC71 DotNET Windows Forms Application Project.vcproj;};#endif  // __MGUARDKEYCAPTURE_H__// End of file@1.1.1.1log@no message@text@@

⌨️ 快捷键说明

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