debugentries.h

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

H
54
字号
#ifndef __DEBUG_ENTRIES_H__
#define __DEBUG_ENTRIES_H__

#if defined(_DEBUG)
//INCLUDES

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

// FORWARD DECLARATIONS
class CLogClient;
class CLogEvent;

/**
* @class	CAddEntries DebugEntries.h 
* @brief	This class reads in a list of
* entries and adds them to the log, used 
* for debugging when there isn't an available 
* log file 
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*/
class CAddEntries: public CActive
	{
public: // constructors and destructor
	static CAddEntries* NewL(CLogClient& aLogClient, TRequestStatus& aObserverRequestStatus);
	static CAddEntries* NewLC(CLogClient& aLogClient, TRequestStatus& aObserverRequestStatus);
	~CAddEntries();

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

private: // constructors
	void ConstructL();
	CAddEntries(CLogClient& aLogClient, TRequestStatus& aObserverRequestStatus);
private: // new methods
	void ReadLogEventsL();

private: // data
	CLogClient& iLogClient;
	TRequestStatus& iObserverRequestStatus;

	TInt iNumberOfEntries;
	TInt iEntryAdded;
	RPointerArray<CLogEvent> iEventArray;
	};

#endif //(_DEBUG)
#endif	// __CALLLOGENGINE_H__

⌨️ 快捷键说明

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