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

📄 phonebookengine.h

📁 Symbian s60 2rd 通话摘要例题
💻 H
字号:
#ifndef __PHONEBOOKENGINE_H__
#define __PHONEBOOKENGINE_H__

//INCLUDES

// System includes
#include "e32base.h"				// CBase
#include <cntdef.h>					// TContactItemId
#include <RPbkViewResourceFile.h>	// RPbkViewResourceFile

// FORWARD DECLARATIONS
class CPbkContactEngine;
class CPbkContactItem;
class CPbkDataSaveAppUi;
class RPbkViewResourceFile;
class CPbkFieldInfo;
class CEikMenuPane;
class CCallArray;
class TCallInfo;

/**
*
* @class	CPhoneBookEngine PhoneBookEngine.h 
* @brief	This class provides a convient way
* of accessing the Phonebook engine
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
* 
*/
class CPhoneBookEngine: public CBase
	{
public: // constructors and destructor
	static CPhoneBookEngine* NewL();
	static CPhoneBookEngine* NewLC();
	~CPhoneBookEngine();

public: // new methods
	void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
	TBool HandlePhoneBookCommandL(TInt aCommand, const TDesC& aNumber);
	TBool AssignSpeedDialDialogL(TContactItemId aId, const TDesC& aPhoneNumber);
	void GetContactNameL(TDes& aName, TInt aContactId);
	TContactItemId AddContactEntryL(TCallInfo& aCallInfo);
	TContactItemId GetContactIdL(const TDesC& aTelephoneNumber) const;
	CPbkContactItem* ReadContactLC(TContactItemId aContactId);

private: // constructors
	CPhoneBookEngine();
	void ConstructL();

private: // data
	CPbkDataSaveAppUi*				iPbkDataSaveAppUi;
	CPbkContactEngine*				iPbkContactEngine;
	RPbkViewResourceFile*			iPbkResourceFile;
	CArrayPtrFlat<CPbkFieldInfo>*	iFieldInfoArray;
	};

#endif	// __PHONEBOOKENGINE_H__

⌨️ 快捷键说明

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