GME  13
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes
CScriptEdit Class Reference

#include <ScriptEdit.h>

Collaboration diagram for CScriptEdit:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CScriptEdit ()
virtual ~CScriptEdit ()
bool Init (CConsoleCtrl *console)
void SetGMEApp (IDispatch *disp)
void SetGMEProj (IDispatch *dsp)
void ExecuteScript (CString &p_str)
void SetLoadedScript (const CString &p_script)
void SetScriptFileName (const CString &p_fname)
CString & GetLoadedScript ()
CString & GetLoadedScriptFileName ()
void showPrev ()
void showNext ()
void returnHit ()
afx_msg void OnEnKillfocus ()
afx_msg void OnEnSetfocus ()

Protected Types

typedef std::vector< CString > Strings

Protected Member Functions

afx_msg void OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags)

Protected Attributes

CConsoleCtrlm_console
IScriptHostPtr m_host
Strings m_inputlist
CString m_loadedScript
CString m_loadedFileName

Static Protected Attributes

static const TCHAR * defPrompt = _T(">")

Detailed Description

Definition at line 21 of file ScriptEdit.h.


Member Typedef Documentation

typedef std::vector<CString> CScriptEdit::Strings [protected]

Definition at line 42 of file ScriptEdit.h.


Constructor & Destructor Documentation

Definition at line 22 of file ScriptEdit.cpp.

Definition at line 27 of file ScriptEdit.cpp.


Member Function Documentation

void CScriptEdit::ExecuteScript ( CString &  p_str)

Definition at line 234 of file ScriptEdit.cpp.

CString& CScriptEdit::GetLoadedScript ( ) [inline]

Definition at line 32 of file ScriptEdit.h.

CString& CScriptEdit::GetLoadedScriptFileName ( ) [inline]

Definition at line 33 of file ScriptEdit.h.

bool CScriptEdit::Init ( CConsoleCtrl console)

Definition at line 32 of file ScriptEdit.cpp.

Definition at line 214 of file ScriptEdit.cpp.

Definition at line 224 of file ScriptEdit.cpp.

void CScriptEdit::OnKeyUp ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

Definition at line 74 of file ScriptEdit.cpp.

Definition at line 69 of file ScriptEdit.cpp.

void CScriptEdit::SetGMEApp ( IDispatch *  disp)

Definition at line 170 of file ScriptEdit.cpp.

void CScriptEdit::SetGMEProj ( IDispatch *  dsp)

Definition at line 192 of file ScriptEdit.cpp.

void CScriptEdit::SetLoadedScript ( const CString &  p_script) [inline]

Definition at line 30 of file ScriptEdit.h.

void CScriptEdit::SetScriptFileName ( const CString &  p_fname) [inline]

Definition at line 31 of file ScriptEdit.h.

Definition at line 64 of file ScriptEdit.cpp.

Definition at line 59 of file ScriptEdit.cpp.


Member Data Documentation

const TCHAR * CScriptEdit::defPrompt = _T(">") [static, protected]

Definition at line 38 of file ScriptEdit.h.

Definition at line 40 of file ScriptEdit.h.

IScriptHostPtr CScriptEdit::m_host [protected]

Definition at line 41 of file ScriptEdit.h.

Definition at line 43 of file ScriptEdit.h.

CString CScriptEdit::m_loadedFileName [protected]

Definition at line 45 of file ScriptEdit.h.

CString CScriptEdit::m_loadedScript [protected]

Definition at line 44 of file ScriptEdit.h.


The documentation for this class was generated from the following files: