From 8bb2578cce0bf473a91f33e661a17015758ca7f4 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:13:20 +0000 Subject: Utilisateur : Fcolin Date : 18/04/03 Heure : 15:43 Archivé dans $/Bus/comIvy Commentaire: ajout GetDomain (vss 2) --- comIvy/Bus.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'comIvy') 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); }; -- cgit v1.1