mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Full Template for ticket #1
This commit is contained in:
parent
74f265b3b3
commit
f439dc8dcd
2150 changed files with 286240 additions and 0 deletions
46
Templates/Full/web/source/activex/IEWebGamePlugin.idl
Normal file
46
Templates/Full/web/source/activex/IEWebGamePlugin.idl
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
// IEWebGamePlugin.idl : IDL source for IEWebGamePlugin
|
||||
//
|
||||
|
||||
// This file will be processed by the MIDL tool to
|
||||
// produce the type library (IEWebGamePlugin.tlb) and marshalling code.
|
||||
|
||||
#include "olectl.h"
|
||||
import "oaidl.idl";
|
||||
import "ocidl.idl";
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(5240D24D-FBCE-4AF2-99FC-4C7AD4318E91),
|
||||
dual,
|
||||
nonextensible,
|
||||
helpstring("IIEWebGameCtrl Interface"),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IIEWebGameCtrl : IDispatch{
|
||||
[propget, bindable, requestedit, id(DISPID_HWND)]
|
||||
HRESULT HWND([out, retval]LONG_PTR* pHWND);
|
||||
[id(1), helpstring("method getVariable")] HRESULT getVariable([in] BSTR name, [out, retval] BSTR* value);
|
||||
[id(2), helpstring("method setVariable")] HRESULT setVariable([in] BSTR name, [in] BSTR value);
|
||||
[id(3), helpstring("method export")] HRESULT exportFunction([in] BSTR callback, [in] LONG numArguments);
|
||||
[id(4), helpstring("method callScript")] HRESULT callScript([in] BSTR code, [out, retval] BSTR* retValue);
|
||||
[id(5), helpstring("method startup")] HRESULT startup();
|
||||
};
|
||||
|
||||
[
|
||||
uuid(FC143328-E29C-4BC4-8C83-618FEB562532),
|
||||
version(1.0),
|
||||
helpstring("IEFullPlugin 1.0 Type Library")
|
||||
]
|
||||
library IEFullPluginLib
|
||||
{
|
||||
importlib("stdole2.tlb");
|
||||
[
|
||||
uuid(D62D1B36-253D-4218-B033-5ACE0B42B8BF),
|
||||
control,
|
||||
helpstring("IEWebGameCtrl Class")
|
||||
]
|
||||
coclass IEWebGameCtrl
|
||||
{
|
||||
[default] interface IIEWebGameCtrl;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue