| // Copyright (c) 2011 The Chromium OS 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 "shill/modem_proxy.h" |
| |
| #include <base/logging.h> |
| |
| using std::string; |
| |
| namespace shill { |
| |
| ModemProxy::ModemProxy(DBus::Connection *connection, |
| const string &path, |
| const string &service) |
| : proxy_(connection, path, service) {} |
| |
| ModemProxy::~ModemProxy() {} |
| |
| void ModemProxy::Enable(const bool enable) { |
| proxy_.Enable(enable); |
| } |
| |
| ModemProxyInterface::Info ModemProxy::GetInfo() { |
| return proxy_.GetInfo(); |
| } |
| |
| ModemProxy::Proxy::Proxy(DBus::Connection *connection, |
| const string &path, |
| const string &service) |
| : DBus::ObjectProxy(*connection, path, service.c_str()) {} |
| |
| ModemProxy::Proxy::~Proxy() {} |
| |
| void ModemProxy::Proxy::StateChanged(const uint32 &old_state, |
| const uint32 &new_state, |
| const uint32 &reason) { |
| VLOG(2) << __func__; |
| } |
| |
| } // namespace shill |