|
OLD | NEW |
---|---|
(Empty) | |
1 import "oaidl.idl"; | |
2 import "ocidl.idl"; | |
3 | |
4 | |
5 [ uuid (931C5D3F-A6D7-411B-98ED-789FC9291302), | |
6 // TODO(vitalybuka@google.com): decide if we need meaningfull version. | |
Sigurður Ásgeirsson
2010/11/11 19:30:35
meaningfull -> meaningful
Vitaly Buka corp
2010/11/11 23:12:10
Done.
| |
7 version(1.1), | |
8 pointer_default(unique), | |
9 ] | |
10 interface Broker { | |
Sigurður Ásgeirsson
2010/11/11 19:30:35
Not that it matters, but perhaps something slightl
Vitaly Buka corp
2010/11/11 23:12:10
Done.
| |
11 | |
12 // Context handle to allow server maintain number of active clients. | |
13 typedef [context_handle] void* BrokerContextHandle; | |
14 | |
15 // @name Implementation specific calls. | |
16 // @{ | |
17 // Returns context handle for new client. | |
18 BrokerContextHandle Connect( | |
19 [in] handle_t binding_handle); | |
20 | |
21 // Release context handle. | |
22 void Disconnect( | |
23 [in] handle_t binding_handle, | |
24 [in, out] BrokerContextHandle* context); | |
25 // @} | |
26 | |
27 // @name Remote calls. | |
28 // @{ | |
29 // Fires event to broker. | |
30 void FireEvent( | |
31 [in] handle_t binding_handle, | |
32 [in] BSTR event_name, | |
33 [in] BSTR event_args); | |
34 // @} | |
35 } | |
OLD | NEW |