// MatlabInterfacingEngineView.h : interface of the CMatlabInterfacingEngineView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MATLABINTERFACINGENGINEVIEW_H__B5E9133D_9C13_4584_99C4_79CF9307B92E__INCLUDED_)
#define AFX_MATLABINTERFACINGENGINEVIEW_H__B5E9133D_9C13_4584_99C4_79CF9307B92E__INCLUDED_

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

//
#define WM_INTERPRET WM_USER+10

namespace kaBasicClasses {
	class CEditOutputStream;
};

class CMatlabInterfacingEngineView : public CEditView
{
protected: // create from serialization only
	CMatlabInterfacingEngineView();
	DECLARE_DYNCREATE(CMatlabInterfacingEngineView)

// Attributes
public:
	CMatlabInterfacingEngineDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMatlabInterfacingEngineView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

// Implementation
public:
	CString promptString();
	void toPrompt( kaBasicClasses::CEditOutputStream& os );
	virtual ~CMatlabInterfacingEngineView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	//
	BOOL previousCtrlDown;

// Generated message map functions
protected:
	//{{AFX_MSG(CMatlabInterfacingEngineView)
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG
	//
	afx_msg void OnInterpret();
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MatlabInterfacingEngineView.cpp
inline CMatlabInterfacingEngineDoc* CMatlabInterfacingEngineView::GetDocument()
   { return (CMatlabInterfacingEngineDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MATLABINTERFACINGENGINEVIEW_H__B5E9133D_9C13_4584_99C4_79CF9307B92E__INCLUDED_)


Hosted by www.Geocities.ws

1