[GME-commit] GMESRC/GME/Console Console.odl,1.1,1.2
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Thu Dec 2 16:00:05 CST 2004
Update of /var/lib/gme/GMESRC/GME/Console
In directory braindrain:/tmp/cvs-serv12472
Modified Files:
Console.odl
Log Message:
console scripting
CVS User: bogyom
Index: Console.odl
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Console/Console.odl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Console.odl 24 Jul 2004 06:41:53 -0000 1.1
--- Console.odl 2 Dec 2004 22:00:03 -0000 1.2
***************
*** 7,10 ****
--- 7,12 ----
#include <olectl.h>
#include <idispids.h>
+ import "oaidl.idl";
+ import "ACTIVSCP.idl";
***************
*** 41,44 ****
--- 43,47 ----
//}}AFX_ODL_METHOD
+ [id(5)] void SetGMEApp(IDispatch *disp);
[id(DISPID_ABOUTBOX)] void AboutBox();
};
***************
*** 60,63 ****
--- 63,79 ----
//}}AFX_ODL_EVENT
};
+ [
+ object,
+ uuid(390D5505-7202-4565-991A-F3A03DBAEF88),
+ dual,
+ helpstring("IScriptHost Interface"),
+ pointer_default(unique)
+ ]
+ interface IScriptHost : IDispatch
+ {
+ [id(1), helpstring("method InitEngine")] HRESULT InitEngine([in] void* m_console, [in] BSTR engineProgid);
+ [id(2), helpstring("method ProcessString")] HRESULT ProcessString([in] BSTR input);
+ [id(3), helpstring("method SetGME")] HRESULT SetGME([in] IDispatch* gmeapp);
+ };
// Class information for CConsoleCtrl
***************
*** 74,76 ****
--- 90,101 ----
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
+ [
+ uuid(CD42B6DD-CCC7-4D4A-A82D-124AF08A6737),
+ helpstring("ScriptHost Class")
+ ]
+ coclass ScriptHost
+ {
+ [default] interface IScriptHost;
+ interface IActiveScriptSite;
+ };
};
More information about the GME-commit
mailing list