summaryrefslogtreecommitdiff
path: root/comIvy/Bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'comIvy/Bus.h')
-rw-r--r--comIvy/Bus.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/comIvy/Bus.h b/comIvy/Bus.h
index cc5e096..9494cb1 100644
--- a/comIvy/Bus.h
+++ b/comIvy/Bus.h
@@ -21,6 +21,7 @@ __interface IBus : IDispatch
[id(4), helpstring("method Delete")] HRESULT Delete(void);
[id(5), helpstring("method Send")] HRESULT Send([in] BSTR message, [out,retval] SHORT* count);
[id(6), helpstring("method Bind")] HRESULT Bind([in] BSTR regexp, [out,retval] IExpression** binding);
+ [id(7), helpstring("method GetDomain")] HRESULT GetDomain([out,retval] BSTR* domain);
};
@@ -44,8 +45,8 @@ __interface _IBusEvents
threading("apartment"),
event_source("com"),
vi_progid("comIvy.Bus"),
- progid("comIvy.Bus.1"),
- version(1.0),
+ progid("comIvy.Bus"),
+ version(2.0),
uuid("537805F0-1950-40B6-9833-DD5F8E8A19B7"),
helpstring("Bus Class")
]
@@ -83,5 +84,7 @@ protected:
Ivy* bus;
void OnApplicationConnected(IvyApplication * app);
void OnApplicationDisconnected(IvyApplication * app);
+public:
+ STDMETHOD(GetDomain)(BSTR* domain);
};