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 | |
Darin Petkov | c5f5656 | 2011-08-06 16:40:05 -0700 | [diff] [blame^] | 22 | void ModemSimpleProxy::Connect(const DBusPropertiesMap &properties) { |
| 23 | proxy_.Connect(properties); |
| 24 | } |
| 25 | |
Darin Petkov | e604f70 | 2011-07-28 15:51:17 -0700 | [diff] [blame] | 26 | ModemSimpleProxy::Proxy::Proxy(DBus::Connection *connection, |
| 27 | const string &path, |
| 28 | const string &service) |
| 29 | : DBus::ObjectProxy(*connection, path, service.c_str()) {} |
| 30 | |
| 31 | ModemSimpleProxy::Proxy::~Proxy() {} |
| 32 | |
| 33 | } // namespace shill |