calllogengine.h

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C头文件 代码 · 共 69 行

H
69
字号
#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 + =
减小字号Ctrl + -
显示快捷键?