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

📄 mguardmsghandler.h,v

📁 symbian s60手机上的短信拦截源代码。
💻 H,V
字号:
head     1.1;branch   1.1.1;access   ;symbols 	v1:1.1.1.1	vendor:1.1.1;locks    ; strict;comment  @ * @;1.1date     2007.07.09.13.13.51;  author administrator;  state Exp;branches 1.1.1.1;next     ;deltatype   text;permissions	644;1.1.1.1date     2007.07.09.13.13.51;  author administrator;  state Exp;branches ;next     ;permissions	644;desc@@1.1log@Initial revision@text@/** ============================================================================*  Name     : from MGuardsmshandler.h*  Part of  : MGuardMain*  Created  : July 9 2007 by xueyw*  Implementation notes:*     Initial content was generated by Series 60 Application Wizard.*  Version  :*  Copyright: * ============================================================================*/#ifndef __MGUARDSMSHANDLER_H__#define __MGUARDSMSHANDLER_H__//  INCLUDES#include <e32base.h>#include <msvapi.h>#include <mtuireg.h>// CONSTANTSconst TInt KBfrLength = 20;// FORWARD DECLARATIONSclass CClientMtmRegistry;class CSmsClientMtm;// CLASS DECLARATION/*** CSmsHandler application engine class.* Takes care of sending and receiveing SMS messages using the SMS client MTM.* Interacts with the application UI class.*/class CSmsHandler : public MMsvSessionObserver	{	public: // Constructors and destructor		/**		* NewL.		* Two-phased constructor.		* @@param aSmsAppUi Pointer to AppUi instance.		* @@return Pointer to the created instance of CSmsHandler.		*/		static CSmsHandler* NewL();		/**		* NewLC.		* Two-phased constructor.		* @@param aSmsAppUi Pointer to AppUi instance.		* @@return Pointer to the created instance of CSmsHandler.		*/		static CSmsHandler* NewLC();		/**		* ~CSmsHandler		* Destructor.		*/		virtual ~CSmsHandler();	public: // New functions	public: // Functions from base classes		/**		* From MMsvSessionObserver, HandleSessionEventL.		* Handles notifications of events from the Message Server.		* @@param aEvent The event that has taken place		* @@param aArg1 Event type-specific argument value		* @@param aArg2 Event type-specific argument value		* @@param aArg3 Event type-specific argument value		*/		void HandleSessionEventL( TMsvSessionEvent aEvent, TAny* aArg1,			TAny* aArg2, TAny* aArg3 );	private: // Constructors		/**		* CSmsHandler.		* C++ default constructor.		* @@param aSmsAppUi Pointer to AppUi instance.		*/		CSmsHandler();		/**		* ConstructL.		* 2nd phase constructor.		*/		void ConstructL();	private: // New functions		/**		* AccessMtmL.		* Access the MTM Registry and create an SMS specific Client MTM instance.		*/		void AccessMtmL();		/**		* MessageReceivedL.		* Handles a received SMS message.		* @@param aEntryId The message server id of the received message.		*/		void MessageReceivedL( TMsvId aEntryId );	private: // Data		/**		* iSession, the contact database.		* Owned by CSmsHandler object.		*/		CMsvSession* iSession;		/**		* iMtmRegistry, client MTM registry.		* Owned by CSmsHandler object.		*/		CClientMtmRegistry* iMtmRegistry;		/**		* iSmsMtm, SMS specific Client MTM.		* Owned by CSmsHandler object.		*/		CSmsClientMtm* iSmsMtm;		/**		* iOperation, the current message server operation.		* Owned by CSmsHandler object.		*/		CMsvOperation* iOperation;		/**		* iMtmUiRegistry, User Interface MTM Registry.		* Owned by CSmsHandler object.		*/		CMtmUiRegistry* iMtmUiRegistry;		/**		* iSelection, entry selection to hold received messages.		* Owned by CSmsHandler object.		*/		CMsvEntrySelection* iSelection;		RFs			aFileSession;		//HBufC8* aDispBufferC;		//TPtr8*   aDispBuffer;		RFile		logFile;		TTime	iLastMsgTime;	};#endif // __MGUARDSMSHANDLER_H__@1.1.1.1log@project kicks off@text@@

⌨️ 快捷键说明

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