www.pudn.com > CLanCompiler.rar > MainFrm.h


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAINFRM_H__B6EB47A5_0CEA_42EB_B239_7A767358C137__INCLUDED_) 
#define AFX_MAINFRM_H__B6EB47A5_0CEA_42EB_B239_7A767358C137__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "Compiler.h"  
class CCLanCompilerView; 
#include  
#include  
 
#include "OutputErrDlg.h" 
using namespace std;    
 
class CMainFrame : public CFrameWnd 
{ 
	 
protected: // create from serialization only 
	CMainFrame(); 
	DECLARE_DYNCREATE(CMainFrame) 
 
	CSplitterWnd m_wndSplitter1; 
	CString s; 
	 CCompiler com; 
	 int num;   
 
// Attributes 
public: 
	CSplitterWnd m_wndSplitter; 
 
public: 
     CEdit *m_pEdit; 
	 CEdit *m_pEdit1; 
	CTreeCtrl *m_pTreeCtrl;	 
   vector m_vectorTreeNode_Lpv; 
    bool Ismemberof(char sz[]); 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	public: 
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CMainFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected:  // control bar embedded members 
	CStatusBar  m_wndStatusBar; 
	CToolBar    m_wndToolBar; 
    bool IsDisplayed; 
	COutputErrDlg err_dlg; 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnError(); 
	afx_msg void OnSource(); 
	afx_msg void OnStartCompile(); 
	afx_msg void OnUpdateError(CCmdUI* pCmdUI); 
	afx_msg void OnStartCompiler(); 
	afx_msg void OnFileOpen(); 
	afx_msg void OnFileSave(); 
	afx_msg void OnFileSaveAs(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAINFRM_H__B6EB47A5_0CEA_42EB_B239_7A767358C137__INCLUDED_)