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

📄 plxcompileboss.h

📁 一个PLX教学编译器IDE
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////////////////////////
//                             Author : tuwei                                                  //
//                               ECNU.CS.03                                                    //
//                             2006.9 ~ 2006.11                                                //
//                           Copyright (C) reserved                                            //
//                                                                                             //
//                                                                                             //
//   Function:                                                                                 //                          
//           Center access unit.                                                               //
//                                                                                             //
//   Credit:                                                                                   // 
//           If you use this control in your application please keep the file header in        //
//           your source or put author's name in your product.                                 //
//                                                                                             //
//                                                                                             //
/////////////////////////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_PLXCOMPILEBOSS_H__58EFBD44_C645_4417_8BC0_3954D15CC57D__INCLUDED_)
#define AFX_PLXCOMPILEBOSS_H__58EFBD44_C645_4417_8BC0_3954D15CC57D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "_MESSAGE_DEF.H"
#include "plxCompiler.h"


class CAdvRichEdit;
class CDebugView;
class CAdvFileTree;
class CDebugOutInfoView;
class CAdvResultView;
class CAdvVariableList;

class plxCompileBoss  
{
public:
	plxCompileBoss();
	virtual ~plxCompileBoss();

public:
	void DefMsgProc(LPACTION pAction);

protected:
	void openFirstFile(LPACTION pAction);
	void getWndHandle(LPACTION pAction);
	void setEditorText();
	void saveFile(LPACTION pAction);
	void OnDocumentClose(LPACTION pAction);
	void newFile(LPACTION pAction);
	void InitDocument(LPACTION pAction);
	void compile(LPACTION pAction);
	void Run(LPACTION pAction);
	void Build(LPACTION pAction);
 	void onCut(LPACTION pAction);
	void onUndo(LPACTION pAction);
	void onCopy(LPACTION pAction);
	void onPaste(LPACTION pAction);
	
protected:
	void onStepInto(LPACTION pAction);
	void onDebug(LPACTION pAction);
	void OnSearchText(LPACTION pAction);
	bool CreateNewFile(LPCTSTR filePath);	
	CString GetExecutePath();

	CDebugView          *pDebugView;
    CAdvRichEdit        *pSourceView;
    CAdvFileTree        *pFileList;
    CDebugOutInfoView   *pDebugOutInfoView;
	CAdvResultView      *pResultView;
	CAdvVariableList    *pVariableList;

	CComboBox    *pSearchView;
    CComboBox    *pFileNameView;

    CString strFilepath;
	
	bool    m_bIsfileOpen;

private:
    plxCompiler core;

	int  oldLine;
};

#endif // !defined(AFX_PLXCOMPILEBOSS_H__58EFBD44_C645_4417_8BC0_3954D15CC57D__INCLUDED_)

⌨️ 快捷键说明

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