summaryrefslogtreecommitdiff
path: root/comIvy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:13:20 +0000
committerfcolin2007-02-01 13:13:20 +0000
commit8bb2578cce0bf473a91f33e661a17015758ca7f4 (patch)
tree05a372b005f4aa6b926db043d550f270217054fd /comIvy
parentd561f6f0278d0bf9be491efa47ea681d55ed3ee1 (diff)
downloadivy-cplusplus-8bb2578cce0bf473a91f33e661a17015758ca7f4.zip
ivy-cplusplus-8bb2578cce0bf473a91f33e661a17015758ca7f4.tar.gz
ivy-cplusplus-8bb2578cce0bf473a91f33e661a17015758ca7f4.tar.bz2
ivy-cplusplus-8bb2578cce0bf473a91f33e661a17015758ca7f4.tar.xz
Utilisateur : Fcolin Date : 18/04/03 Heure : 15:43 Archivé dans $/Bus/comIvy Commentaire: ajout GetDomain (vss 2)
Diffstat (limited to 'comIvy')
-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);
};