📄 mguardpimmgr.h
字号:
/*
* ============================================================================
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -