blob: 37c9c83076467cc7860c2217ed37784600f998d4 [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
Darin Petkovc5f56562011-08-06 16:40:05 -070022void ModemSimpleProxy::Connect(const DBusPropertiesMap &properties) {
23 proxy_.Connect(properties);
24}
25
Darin Petkove604f702011-07-28 15:51:17 -070026ModemSimpleProxy::Proxy::Proxy(DBus::Connection *connection,
27 const string &path,
28 const string &service)
29 : DBus::ObjectProxy(*connection, path, service.c_str()) {}
30
31ModemSimpleProxy::Proxy::~Proxy() {}
32
33} // namespace shill