📄 compilerview.h
字号:
// compilerView.h : interface of the CCompilerView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_COMPILERVIEW_H__83B6DCF2_159B_497D_9E6C_0E432CAF1F3B__INCLUDED_)
#define AFX_COMPILERVIEW_H__83B6DCF2_159B_497D_9E6C_0E432CAF1F3B__INCLUDED_
#include "Analyzer.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CCompilerView : public CFormView
{
protected: // create from serialization only
CCompilerView();
DECLARE_DYNCREATE(CCompilerView)
public:
//{{AFX_DATA(CCompilerView)
enum { IDD = IDD_COMPILER_FORM };
CEdit m_OUT2;
CEdit m_OUT1;
CEdit m_IN;
//}}AFX_DATA
// Attributes
public:
CCompilerDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCompilerView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
CString m_strCurFile;
virtual ~CCompilerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
CAnalyzer m_CAn;
//{{AFX_MSG(CCompilerView)
afx_msg void OnMenuCifa();
afx_msg void OnMenuYufa();
afx_msg void OnFileOpen();
afx_msg void OnFileSave();
afx_msg void OnFileSaveAs();
afx_msg void OnCifa();
afx_msg void OnYufa();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in compilerView.cpp
inline CCompilerDoc* CCompilerView::GetDocument()
{ return (CCompilerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMPILERVIEW_H__83B6DCF2_159B_497D_9E6C_0E432CAF1F3B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -