plxcdoc.h

来自「一个PLX教学编译器IDE」· C头文件 代码 · 共 78 行

H
78
字号

#if !defined(AFX_PLXCDOC_H__EF5F89F9_D12E_4785_81D6_A665297E8A9A__INCLUDED_)
#define AFX_PLXCDOC_H__EF5F89F9_D12E_4785_81D6_A665297E8A9A__INCLUDED_

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

#include "plxCompileBoss.h"
#include "_MESSAGE_DEF.H"

class CMainFrame;

class CPlxcDoc : public CDocument
{
protected: 
	CPlxcDoc();
	DECLARE_DYNCREATE(CPlxcDoc)

public:
	//{{AFX_VIRTUAL(CPlxcDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	virtual void OnCloseDocument();
	//}}AFX_VIRTUAL
public:
	virtual ~CPlxcDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

public:
	void MsgTransmitProc(LPACTION pAction);
   
protected:
	void InitBoss();
	void GetMainFrameP();
	void StepIntoCompileUI(bool flags);

    CMainFrame* pMainFrm;
    plxCompileBoss boss;
protected:
	void SetCurrentDebugState(bool bState);
	bool GetCurrentDebugSates();
	CString GetNewFileName();
	//{{AFX_MSG(CPlxcDoc)
	afx_msg void OnBuild();
	afx_msg void OnCompile();
	afx_msg void OnBuildrelease();
	afx_msg void OnRun();
	afx_msg void OnEditCut();
	afx_msg void OnEditPaste();
	afx_msg void OnEditUndo();
	afx_msg void OnEditCopy();
	afx_msg void OnSearchtext();
	afx_msg void OnStartdebug();
	afx_msg void OnUpdateStartdebug(CCmdUI* pCmdUI);
	afx_msg void OnStepin();
	afx_msg void OnUpdateStepin(CCmdUI* pCmdUI);
//	afx_msg void OnStepout();
//	afx_msg void OnUpdateStepout(CCmdUI* pCmdUI);
	afx_msg void OnStopdebug();
	afx_msg void OnUpdateStopdebug(CCmdUI* pCmdUI);
//	afx_msg void OnStrpover();
//	afx_msg void OnUpdateStrpover(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFileNew(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFileOpen(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFileClose(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_PLXCDOC_H__EF5F89F9_D12E_4785_81D6_A665297E8A9A__INCLUDED_)

⌨️ 快捷键说明

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