Darin Petkov | e604f70 | 2011-07-28 15:51:17 -0700 | [diff] [blame^] | 1 | // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "shill/modem_simple_proxy.h" |
| 6 | |
| 7 | using std::string; |
| 8 | |
| 9 | namespace shill { |
| 10 | |
| 11 | ModemSimpleProxy::ModemSimpleProxy(DBus::Connection *connection, |
| 12 | const string &path, |
| 13 | const string &service) |
| 14 | : proxy_(connection, path, service) {} |
| 15 | |
| 16 | ModemSimpleProxy::~ModemSimpleProxy() {} |
| 17 | |
| 18 | DBusPropertiesMap ModemSimpleProxy::GetStatus() { |
| 19 | return proxy_.GetStatus(); |
| 20 | } |
| 21 | |
| 22 | ModemSimpleProxy::Proxy::Proxy(DBus::Connection *connection, |
| 23 | const string &path, |
| 24 | const string &service) |
| 25 | : DBus::ObjectProxy(*connection, path, service.c_str()) {} |
| 26 | |
| 27 | ModemSimpleProxy::Proxy::~Proxy() {} |
| 28 | |
| 29 | } // namespace shill |