Скачиваний:
12
Добавлен:
01.05.2014
Размер:
2.14 Кб
Скачать
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__B01F10C0_7035_440B_83EC_0DF7A5EB0B76__INCLUDED_)
#define AFX_MAINFRM_H__B01F10C0_7035_440B_83EC_0DF7A5EB0B76__INCLUDED_

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

#include "Interfaces.h"

//-----------------------------------------------------------------------------

class CCompilerView;

class CMainFrame : public CFrameWnd
{
	CEditView *m_pView;

    bool m_bBusy;

protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

    LRESULT OnSetBusy(WPARAM, LPARAM);

    CSplitterWnd m_Splitter;
    bool         m_bSplitterCreated;

public:
    CCompilerView* GetInfoPane();
    
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);

    
	//}}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;

    CToolBar    m_CompilerToolBar;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClose();
    afx_msg void OnUpdateFileOp(CCmdUI* pCmdUI);
    afx_msg void OnUpdateLineNumber(CCmdUI *pCmdUI);
    afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}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__B01F10C0_7035_440B_83EC_0DF7A5EB0B76__INCLUDED_)
Соседние файлы в папке Курсовая работа2