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

📄 ansphonecalllog.h

📁 s60 接打电话代码,很有学习价值的,可以移植到不同平台
💻 H
字号:
#ifndef __ANSPHONECALLLOG_H__
#define __ANSPHONECALLLOG_H__

#include <logcli.h>
#include <logview.h>

/**
*
* @class	MAnsPhoneCallLogObserver AnsPhoneCallLog.h
* @brief	Mixin Class for Onservers of the PhoneCall log
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*
*/

class MAnsPhoneCallLogObserver
	{
	public:
		virtual void HandlePhoneNumberL(const TDesC& aNumber) = 0;
	};

/**
*
* @class	CAnsPhoneCallLog AnsPhoneCallLog.h
* @brief	This class enables the number of the call that just phoned to be retrieved
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*
*/

class CAnsPhoneCallLog	:	public CActive
	{
	public:
		static CAnsPhoneCallLog* NewL(MAnsPhoneCallLogObserver& aObserver);
		~CAnsPhoneCallLog();

	public:				// CActive
		virtual void RunL();
		virtual void DoCancel();

	public:
		void GetNumberL();

	private:
		CAnsPhoneCallLog(MAnsPhoneCallLogObserver& aObserver);
		void ConstructL();

	private:
		MAnsPhoneCallLogObserver&	iObserver;
		CLogClient*					iSession;
		CLogViewRecent*				iRecentView;
	};

#endif

⌨️ 快捷键说明

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