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

📄 calllogengine.h

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

//INCLUDES

// System includes
#include <e32base.h>		// CActive

// FORWARD DECLARATIONS
class CLogClient;
class CLogEvent;
class CLogFilter;
class CLogViewEvent;
class CCallArray;
class MCallLogEngineObserver;
class CAddEntries;

/**
*
* @class	CCallLogEngine CallLogEngine.h 
* @brief	This class extracts information 
* asynchronously from the log engine.
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
* 
*/
class CCallLogEngine: public CActive
	{
public: // constructors and destructor	
	static CCallLogEngine* NewL(MCallLogEngineObserver& aObserver, CCallArray& aCallArray, TInt aDirection);
	static CCallLogEngine* NewLC(MCallLogEngineObserver& aObserver, CCallArray& aCallArray, TInt aDirection);
	~CCallLogEngine();

public: // from CActive
	void DoCancel();
	void RunL();
	TInt RunError(TInt aError);

public: // new methods
	void PopulateCallArrayL();

private: // constructors
	CCallLogEngine(MCallLogEngineObserver& aObserver, CCallArray& aCallArray);
	void ConstructL(TInt aDirection);

private: // data
	enum TCallLogEngineState
		{
		ECreatingView,
		EAddingEntry,
		EIdle,
		EDebugCreatingEventLog
		};

	TCallLogEngineState		iEngineState;
	CLogClient*				iLogClient; 
	CLogViewEvent*			iLogView;
	CLogFilter*				iLogFilter;
	MCallLogEngineObserver& iObserver;
	CCallArray&				iCallArray;
#if defined(_DEBUG)
	CAddEntries*			iEntryAdd;
#endif // _DEBUG
	};

#endif	// __CALLLOGENGINE_H__

⌨️ 快捷键说明

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