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

📄 mguardpimmgr.h,v

📁 symbian s60手机上的短信拦截源代码。
💻 H,V
字号:
head	1.4;access;symbols	v1_0:1.1.1.3	xueyw:1.1.1	v111:1.1.1.2	MGuard:1.1.1	arelease:1.1.1.1	avendor:1.1.1;locks; strict;comment	@ * @;1.4date	2007.08.22.11.16.55;	author administrator;	state Exp;branches;next	1.3;deltatype	text;permissions	644;commitid	8d846cc1b26346a;kopt	kv;filename	@MGuardPIMMgr.h@;1.3date	2007.08.08.13.50.26;	author administrator;	state Exp;branches;next	1.2;deltatype	text;permissions	644;commitid	fbc46b9ca21640d;kopt	kv;filename	@MGuardPIMMgr.h@;1.2date	2007.07.30.13.22.12;	author administrator;	state Exp;branches;next	1.1;deltatype	text;permissions	644;commitid	17446ade6030f3e;kopt	kv;filename	@MGuardPIMMgr.h@;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	1.1.1.2;deltatype	text;permissions	644;1.1.1.2date	2007.08.22.11.31.31;	author administrator;	state Exp;branches;next	1.1.1.3;deltatype	text;permissions	644;commitid	81046cc1e913f93;kopt	kv;filename	@MGuardPIMMgr.h@;1.1.1.3date	2007.10.05.14.06.53;	author administrator;	state Exp;branches;next	;deltatype	text;permissions	644;commitid	894470644fb2457;kopt	kv;filename	@MGuardPIMMgr.h@;desc@@1.4log@new AddContact methods1. the original method doesn't work well, The phone restart if the user press the newly added contact2. The new methods doesn't have this issue@text@/** ============================================================================*  Name     : MGuardPIMMgr.h*  Part of  : MGuardPIMMgr*  Created  : 18.07.2007 by xueyw*  Description:*     MGuardPIMMgr.h - CMGuardPIMMgr class header*  Version  :*  Copyright: * ============================================================================*/// This file defines the API for MGuardPIMMgr.dll#ifndef __MGUARDPIMMGR_H__#define __MGUARDPIMMGR_H__//  Include Files#include <e32base.h>    // CBase#include <e32std.h>     // TBuf#include <cntdb.h>//  Constants//  Class Definitionsclass CMGuardPIMMgr : public CBase    {    public:     // new functions        IMPORT_C static CMGuardPIMMgr* NewL();        IMPORT_C static CMGuardPIMMgr* NewLC();        IMPORT_C ~CMGuardPIMMgr();    public:     	TBool	AddContact( TDesC& aName, TDesC& aTel, TDesC& aAddr );//    	TBool	ModifyContact();//    	TBool	FindContact();   //    	TBool	RemoveContact();    	TBool	RemoveAllContacts();    private:    // new functions        CMGuardPIMMgr();        void ConstructL();    private:    // data        CContactDatabase* iContactDB;    };#endif  // __MGUARDPIMMGR_H__// End of file@1.3log@add contact support (chs support)@text@d39 1a39 1    	TBool	AddContact( TBuf<50>& aName, TBuf<50>& aTel, TBuf<50>& aAddr );@1.2log@no message@text@d39 1a39 1    	TBool	AddContact();@1.1log@Initial revision@text@d24 1a24 1a27 3const TInt KMGuardPIMMgrBufferLength = 15;typedef TBuf<KMGuardPIMMgrBufferLength> TMGuardPIMMgrExampleString;d38 6a43 5    public:     // new functions, example API        IMPORT_C TVersion Version() const;        IMPORT_C void ExampleFuncAddCharL(const TChar& aChar);        IMPORT_C void ExampleFuncRemoveLast();        IMPORT_C const TPtrC ExampleFuncString() const;d50 1a50 1        TMGuardPIMMgrExampleString* iString;@1.1.1.1log@no message@text@@1.1.1.2log@no message@text@d24 1a24 1#include <cntdb.h>d28 3d41 5a45 6    public:     	TBool	AddContact( TDesC& aName, TDesC& aTel, TDesC& aAddr );//    	TBool	ModifyContact();//    	TBool	FindContact();   //    	TBool	RemoveContact();    	TBool	RemoveAllContacts();d52 1a52 1        CContactDatabase* iContactDB;@1.1.1.3log@code complete@text@a24 1#include <msvapi.h>d28 1a28 7class dummyhandler2: public MMsvSessionObserver{public:	virtual void HandleSessionEventL( TMsvSessionEvent, TAny*, TAny*, TAny* )	{	}};@

⌨️ 快捷键说明

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