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 meaningful version. |
| 7 version(1.1), |
| 8 pointer_default(unique), |
| 9 ] |
| 10 interface CeeeBroker { |
| 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 |