GME
13
|
#include <ScriptEdit.h>
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 | |
CConsoleCtrl * | m_console |
IScriptHostPtr | m_host |
Strings | m_inputlist |
CString | m_loadedScript |
CString | m_loadedFileName |
Static Protected Attributes | |
static const TCHAR * | defPrompt = _T(">") |
Definition at line 21 of file ScriptEdit.h.
typedef std::vector<CString> CScriptEdit::Strings [protected] |
Definition at line 42 of file ScriptEdit.h.
Definition at line 22 of file ScriptEdit.cpp.
CScriptEdit::~CScriptEdit | ( | ) | [virtual] |
Definition at line 27 of file ScriptEdit.cpp.
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.
void CScriptEdit::OnEnKillfocus | ( | ) |
Definition at line 214 of file ScriptEdit.cpp.
void CScriptEdit::OnEnSetfocus | ( | ) |
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.
void CScriptEdit::returnHit | ( | ) |
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.
void CScriptEdit::showNext | ( | ) |
Definition at line 64 of file ScriptEdit.cpp.
void CScriptEdit::showPrev | ( | ) |
Definition at line 59 of file ScriptEdit.cpp.
const TCHAR * CScriptEdit::defPrompt = _T(">") [static, protected] |
Definition at line 38 of file ScriptEdit.h.
CConsoleCtrl* CScriptEdit::m_console [protected] |
Definition at line 40 of file ScriptEdit.h.
IScriptHostPtr CScriptEdit::m_host [protected] |
Definition at line 41 of file ScriptEdit.h.
Strings CScriptEdit::m_inputlist [protected] |
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.