Chromium Code Reviews| Index: ceee/ie/broker/broker_rpc_lib.idl |
| =================================================================== |
| --- ceee/ie/broker/broker_rpc_lib.idl (revision 0) |
| +++ ceee/ie/broker/broker_rpc_lib.idl (revision 0) |
| @@ -0,0 +1,35 @@ |
| +import "oaidl.idl"; |
| +import "ocidl.idl"; |
| + |
| + |
| +[ uuid (931C5D3F-A6D7-411B-98ED-789FC9291302), |
| + // 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.
|
| + version(1.1), |
| + pointer_default(unique), |
| +] |
| +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.
|
| + |
| +// Context handle to allow server maintain number of active clients. |
| +typedef [context_handle] void* BrokerContextHandle; |
| + |
| +// @name Implementation specific calls. |
| +// @{ |
| +// Returns context handle for new client. |
| +BrokerContextHandle Connect( |
| + [in] handle_t binding_handle); |
| + |
| +// Release context handle. |
| +void Disconnect( |
| + [in] handle_t binding_handle, |
| + [in, out] BrokerContextHandle* context); |
| +// @} |
| + |
| +// @name Remote calls. |
| +// @{ |
| +// Fires event to broker. |
| +void FireEvent( |
| + [in] handle_t binding_handle, |
| + [in] BSTR event_name, |
| + [in] BSTR event_args); |
| +// @} |
| +} |
| Property changes on: ceee\ie\broker\broker_rpc_lib.idl |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |