GME  13
console.cpp
Go to the documentation of this file.
00001 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
00002 
00003 // NOTE: Do not modify the contents of this file.  If this class is regenerated by
00004 //  Microsoft Visual C++, your modifications will be overwritten.
00005 
00006 
00007 #include "stdafx.h"
00008 #include "console.h"
00009 
00011 // CConsole
00012 
00013 IMPLEMENT_DYNCREATE(CConsole, CWnd)
00014 
00015 
00016 // CConsole properties
00017 
00018 CConsole::~CConsole()
00019 {
00020 // commented out by zolmol
00021 //      static BYTE parms[] = VTS_DISPATCH;
00022 //      InvokeHelper(5, DISPATCH_METHOD, VT_EMPTY, NULL, parms, NULL); 
00023 }
00024 
00025 CString CConsole::GetContents()
00026 {
00027         CString result;
00028         GetProperty(0x1, VT_BSTR, (void*)&result);
00029         return result;
00030 }
00031 
00032 void CConsole::SetContents(LPCTSTR propVal)
00033 {
00034         SetProperty(0x1, VT_BSTR, propVal);
00035 }
00036 
00037 CString CConsole::Get_Contents()
00038 {
00039         CString result;
00040         GetProperty(0x0, VT_BSTR, (void*)&result);
00041         return result;
00042 }
00043 
00044 void CConsole::Set_Contents(LPCTSTR propVal)
00045 {
00046         SetProperty(0x0, VT_BSTR, propVal);
00047 }
00048 
00050 // CConsole operations
00051 
00052 void CConsole::Message(LPCTSTR str, short type)
00053 {
00054         static BYTE parms[] =
00055                 VTS_BSTR VTS_I2;
00056         InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
00057                  str, type);
00058 }
00059 
00060 void CConsole::Clear()
00061 {
00062         InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
00063 }
00064 
00065 void CConsole::AboutBox()
00066 {
00067         InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
00068 }
00069 
00070 void CConsole::SetGMEApp(IDispatch *idp)
00071 {
00072         static BYTE parms[] = VTS_DISPATCH;
00073         InvokeHelper(5, DISPATCH_METHOD, VT_EMPTY, NULL, parms, idp);
00074 }
00075 
00076 void CConsole::SetGMEProj(IDispatch *idp)
00077 {
00078         static BYTE parms[] = VTS_DISPATCH;
00079         InvokeHelper(6, DISPATCH_METHOD, VT_EMPTY, NULL, parms, idp);
00080 }
00081 
00082 void CConsole::NavigateTo(LPCTSTR url)
00083 {
00084         static BYTE parms[] = VTS_BSTR;
00085         InvokeHelper(7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
00086                  url);
00087 }
00088 
00089 void CConsole::RunCode(BSTR code)
00090 {
00091         static BYTE parms[] = VTS_BSTR;
00092         InvokeHelper(11, DISPATCH_METHOD, VT_EMPTY, NULL, parms, code);
00093 }