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

📄 mguardmsgconsole.h.bak,v

📁 symbian s60手机上的短信拦截源代码。
💻 BAK,V
字号:
head	1.1;branch	1.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.31.31;	author administrator;	state Exp;branches	1.1.1.1;next	;deltatype	text;permissions	644;1.1.1.1date	2007.08.22.11.31.31;	author administrator;	state Exp;branches;next	;deltatype	text;permissions	644;desc@@1.1log@Initial revision@text@/** ============================================================================*  Name     : MGuardMain.h*  Part of  : MGuardMain*  Created  : 18.07.2007 by xueyw*  Description:*     Exe header file*  Version  :*  Copyright: * ============================================================================*/#ifndef __MGUARDMSGCONSOLE_H__#define __MGUARDMSGCONSOLE_H__//  Include Files#include <e32base.h>#include "DatagramService.h"//#include "MGuardKeyCapture.h"const TUid KSMSDatagramServiceInterfaceUID = {0x101FA9C3};const TUint KSMSMaxBufferSize = 256;_LIT8(KTestNumber, "+8613522892272"); // Change this 	_LIT8(KTestPattern, "//TEST");_LIT(KTestMessage, "Test SMS Message");_LIT(KInitTxt, "\nPress Any Key to Continue");_LIT(KTerminateTxt, "\nPress Any Key to Exit");_LIT(KTextEsc,"\n");_LIT(KSendingSMS, "\nSending SMS...");_LIT(KSentSMS, "\nSent SMS!");_LIT(KReceivingSMS, "\nReceiving SMS...");_LIT(KReceivedSMS, "\nReceived SMS\n!");class CActiveConsole : public CActive{public:	enum TActiveConsoleState {EIdle, ESending, EReceiving};public:	// Static constuction	static CActiveConsole *NewLC();	static CActiveConsole *NewL();	// Construction	CActiveConsole();	void ConstructL();	// Destruction	~CActiveConsole();	// Issue request	//void RequestCharacter();	// Cancel request.	// Defined as pure virtual by CActive;	// implementation provided by this class.	void DoCancel();	void DoStartTestsL();	// Sends an SMS asynchronously.	void DoSendSMSL();			// Receives an SMS asynchronously	void DoReceiveSMSL();		// Service completed request.	// Defined as pure virtual by CActive;	// implementation provided by this class,	void RunL();	// Called from RunL() - an implementation must be provided	// by derived classes to handle the completed request	//virtual void ProcessKeyPress(TChar aChar); protected:	// Data members defined by this class	//CConsoleBase* iConsole; // A console for reading fromprivate:	CDatagramService* iService;		CDatagram* iDatagram;	HBufC* iBuf;	TActiveConsoleState iState;};#endif@1.1.1.1log@no message@text@@

⌨️ 快捷键说明

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