mguardpimmgr.h
来自「symbian s60手机上的短信拦截源代码。」· C头文件 代码 · 共 64 行
H
64 行
/*
* ============================================================================
* 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>
#include <msvapi.h>
// Constants
class dummyhandler2: public MMsvSessionObserver
{
public:
virtual void HandleSessionEventL( TMsvSessionEvent, TAny*, TAny*, TAny* )
{
}
};
// Class Definitions
class 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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?