[go: up one dir, main page]

Menu

[r999]: / trunk / VTS3 / ScriptFrame.h  Maximize  Restore  History

Download this file

109 lines (88 with data), 3.0 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
// ScriptFrame.h : interface of the ScriptFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SCRIPTFRAME_H__C9E6602B_ABC2_11D4_BEE8_00A0C95A9812__INCLUDED_)
#define AFX_SCRIPTFRAME_H__C9E6602B_ABC2_11D4_BEE8_00A0C95A9812__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <afxext.h>
#include <afxcview.h>
#include "ScriptDocument.h"
#include "ScriptParmList.h"
#include "ScriptContentTree.h"
#include "ScriptLoadResults.h"
// Added by Yajun Zhou, 2002-4-22
#include "ScriptEdit.h"
///////////////////////////
//////////////////////////
//madanner, 5/03
//class ScriptFrame : public CMDIChildWnd
class ScriptFrame : public CMDIFrameWnd
{
DECLARE_DYNCREATE(ScriptFrame)
public:
ScriptFrame();
ScriptDocumentPtr m_pDoc;
CSplitterWnd m_wndSplit1;
CSplitterWnd m_wndSplit2;
// Changed by Yajun Zhou, 2002-4-22
// CEditView *m_pEditView;
ScriptEdit *m_pEditView;
////////////////////////////////////////////
ScriptParmList *m_pParmList;
ScriptContentTree *m_pContentTree;
BOOL m_bSyntaxOK;
bool DoInitialSetup( void ); // get ready to run
// Attributes
public:
void SetLnPaneText(LPCSTR lpszText);
void OnUpdateFrameTitle(BOOL bAddToTitle); // override from CFrameWnd
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(ScriptFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void Serialize(CArchive& ar);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~ScriptFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
//{{AFX_MSG(ScriptFrame)
afx_msg void OnUpdateScriptCheckSyntax(CCmdUI* pCmdUI);
afx_msg void OnUpdateScriptEnvironment(CCmdUI* pCmdUI);
afx_msg void OnUpdateScriptRun(CCmdUI* pCmdUI);
afx_msg void OnUpdateScriptHalt(CCmdUI* pCmdUI);
afx_msg void OnUpdateScriptStep(CCmdUI* pCmdUI);
afx_msg void OnUpdateScriptStepPass(CCmdUI* pCmdUI);
afx_msg void OnUpdateScriptStepFail(CCmdUI* pCmdUI);
afx_msg void OnUpdateScriptKill(CCmdUI* pCmdUI);
afx_msg void OnUpdateScriptReset(CCmdUI* pCmdUI);
afx_msg void OnScriptCheckSyntax();
afx_msg void OnScriptEnvironment();
afx_msg void OnScriptRun();
afx_msg void OnScriptHalt();
afx_msg void OnScriptStep();
afx_msg void OnScriptStepPass();
afx_msg void OnScriptStepFail();
afx_msg void OnScriptKill();
afx_msg void OnScriptReset();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCRIPTFRAME_H__C9E6602B_ABC2_11D4_BEE8_00A0C95A9812__INCLUDED_)