?? buildrunlistener.h
字號:
// BuildRunListener.h: interface for the CBuildRunListener class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BUILDRUNLISTENER_H__08209313_BD10_4D3D_B393_35E66478E969__INCLUDED_)
#define AFX_BUILDRUNLISTENER_H__08209313_BD10_4D3D_B393_35E66478E969__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "config.h"
class CBuildRunListener
{
public:
CBuildRunListener();
virtual ~CBuildRunListener();
enum ExecStepMsg
{
msg_StartTest = 0,
msg_EndTest,
msg_StartGetSourceCode ,
msg_GetSourceCodeSuccessed ,
msg_GetSourceCodeFailed ,
msg_NotFindProjectFile ,
msg_StartComplierProject ,
msg_ComplierProjectSuccessed,
msg_ComplierFileException ,
msg_ComplierProjectFailed ,
msg_RunExeSuccessed ,
msg_RunExeFailed ,
msg_FindTestResultXMLFileSuccessed,
msg_NotFindTestResultXMLFile
};
virtual void Clean() = 0;
// 報(bào)告運(yùn)行過程
virtual void ReportExecStepMsg(ExecStepMsg msg) = 0;
// 報(bào)告運(yùn)行結(jié)果
virtual BOOL ReportExecResult(const CString &strTestResultFile,
CTestProjectType project) = 0;
void SetProjectDir(const CString &strProjectDir)
{
m_strProjectDir = strProjectDir;
}
protected:
CString GetMsgText(ExecStepMsg msg);
protected:
CString m_strProjectDir;
};
#endif // !defined(AFX_BUILDRUNLISTENER_H__08209313_BD10_4D3D_B393_35E66478E969__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -