blob: a8b48b12e7d723a2151e7700d1a82d243b00a570 [file] [log] [blame]
Darin Petkove604f702011-07-28 15:51:17 -07001// 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
7using std::string;
8
9namespace shill {
10
11ModemSimpleProxy::ModemSimpleProxy(DBus::Connection *connection,
12 const string &path,
13 const string &service)
14 : proxy_(connection, path, service) {}
15
16ModemSimpleProxy::~ModemSimpleProxy() {}
17
18DBusPropertiesMap ModemSimpleProxy::GetStatus() {
19 return proxy_.GetStatus();
20}
21
22ModemSimpleProxy::Proxy::Proxy(DBus::Connection *connection,
23 const string &path,
24 const string &service)
25 : DBus::ObjectProxy(*connection, path, service.c_str()) {}
26
27ModemSimpleProxy::Proxy::~Proxy() {}
28
29} // namespace shill