| Index: remoting/protocol/input_stub.cc
|
| diff --git a/remoting/protocol/input_stub.cc b/remoting/protocol/input_stub.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9b6babafb43a8688cc23258541e88739b4b5fedc
|
| --- /dev/null
|
| +++ b/remoting/protocol/input_stub.cc
|
| @@ -0,0 +1,30 @@
|
| +// 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.
|
| +
|
| +// Interface for a device that receives input events.
|
| +// This interface handles event messages defined in event.proto.
|
| +
|
| +#include "remoting/protocol/input_stub.h"
|
| +
|
| +namespace remoting {
|
| +namespace protocol {
|
| +
|
| +
|
| +InputStub::InputStub()
|
| + : enabled_(false) {
|
| +}
|
| +
|
| +InputStub::~InputStub() {
|
| +}
|
| +
|
| +void InputStub::SetEnabled(bool enabled) {
|
| + enabled_ = enabled;
|
| +}
|
| +
|
| +bool InputStub::enabled() {
|
| + return enabled_;
|
| +}
|
| +
|
| +} // namespace protocol
|
| +} // namespace remoting
|
|
|