| Index: ceee/ie/broker/broker_rpc_client.h
|
| ===================================================================
|
| --- ceee/ie/broker/broker_rpc_client.h (revision 0)
|
| +++ ceee/ie/broker/broker_rpc_client.h (revision 0)
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "base/basictypes.h"
|
| +
|
| +class BrokerRpcClient {
|
| + public:
|
| + BrokerRpcClient();
|
| + ~BrokerRpcClient();
|
| +
|
| + bool Connect();
|
| + void Disconnect();
|
| + bool FireEvent(BSTR event_name, BSTR event_args);
|
| +
|
| + bool is_connected() const {
|
| + return context_ != NULL && binding_handle_ != NULL;
|
| + }
|
| + private:
|
| + void LockContext();
|
| + void ReleaseContext();
|
| +
|
| + RPC_BINDING_HANDLE binding_handle_;
|
| + void* context_;
|
| + DISALLOW_COPY_AND_ASSIGN(BrokerRpcClient);
|
| +};
|
|
|
| Property changes on: ceee\ie\broker\broker_rpc_client.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|