blob: 9bcf2193295dcc0f5427cb3f940a56ca0a38de2b [file] [log] [blame]
Darin Petkove9d12e02011-07-27 15:09:37 -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_proxy.h"
6
7#include <base/logging.h>
8
9using std::string;
10
11namespace shill {
12
13ModemProxy::ModemProxy(DBus::Connection *connection,
14 const string &path,
15 const string &service)
16 : proxy_(connection, path, service) {}
17
18ModemProxy::~ModemProxy() {}
19
20void ModemProxy::Enable(const bool enable) {
21 proxy_.Enable(enable);
22}
23
24ModemProxy::Proxy::Proxy(DBus::Connection *connection,
25 const string &path,
26 const string &service)
27 : DBus::ObjectProxy(*connection, path, service.c_str()) {}
28
29ModemProxy::Proxy::~Proxy() {}
30
31void ModemProxy::Proxy::StateChanged(const uint32 &old_state,
32 const uint32 &new_state,
33 const uint32 &reason) {
34 VLOG(2) << __func__;
35}
36
37} // namespace shill