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

📄 mguardscsvrsession.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.19.19;	author administrator;	state Exp;branches	1.1.1.1;next	;deltatype	text;permissions	644;commitid	3e846cc1bb63640;kopt	kv;filename	@MGuardScSvrSession.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	@MGuardScSvrSession.h@;desc@@1.1log@sc take care of  the lock/unlock of the screen@text@/** ============================================================================*  Name     : MGuardScSvrSession.h*  Part of  : MGuardSc*  Created  : 19.08.2007 by xueyw*  Description:*  Version  :*  Copyright: * ============================================================================*/#ifndef __MGUARDSCSVRSESSION_H__#define __MGUARDSCSVRSESSION_H__// CONSTANTSconst TUint KDefaultMessageSlots = 2;//???const TUid KServerUid3 = { 0x10005BCE }; // Server UID//_LIT( KMGuardScSvrName,"MGuardScSvr" ); // Server name_LIT( KMGuardServerFilename, "MGuardScSvr" );#ifdef __WINS__static const TUint KServerMinHeapSize =  0x1000;  //  4Kstatic const TUint KServerMaxHeapSize = 0x10000;  // 64K#endif// CLASS DECLARATION/***	RMGuardSvrSession*	This class provides the client-side interface to the server session*/class RMGuardSvrSession : public RSessionBase{public: // Constructors and destructors	/**	* RMGuardSvrSession.	* Constructs the object.	*/	RMGuardSvrSession();public: // New functions	/**	* Connect.	* Connects to the server and create a session.	* @@return Error code.	*/	TInt Connect();	/**	* Version.	* Gets the version number.	* @@return The version.	*/	TVersion Version() const;	/**	* RequestLock.	* Issues a request for the time to the server.	* @@param aTime The location for the server to write data into.	* @@param aStatus The TRequestStatus object to be used for async comms.	*/	void RequestLock( TTime& aTime,TRequestStatus& aStatus );	void RequestUnlock( TTime& aTime,TRequestStatus& aStatus );	/**	* CancelRequestLock.	* Cancels any outstanding request to the server.	*/	void CancelRequestLock() const;private: // Data	/**	* iTimeBuffer, buffer to write the time to.	*/	TPtr8 iTimeBuffer;};#endif@1.1.1.1log@no message@text@@

⌨️ 快捷键说明

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