blob: aab7c4aa39987f0ef294ca78500f96da7f49bea2 [file] [log] [blame]
Darin Petkovbec79a22011-08-01 14:47: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_cdma_proxy.h"
6
7#include <base/logging.h>
8
9using std::string;
10
11namespace shill {
12
13ModemCDMAProxy::ModemCDMAProxy(DBus::Connection *connection,
14 const string &path,
15 const string &service)
16 : proxy_(connection, path, service) {}
17
18ModemCDMAProxy::~ModemCDMAProxy() {}
19
20void ModemCDMAProxy::GetRegistrationState(uint32 *cdma_1x_state,
21 uint32 *evdo_state) {
22 proxy_.GetRegistrationState(*cdma_1x_state, *evdo_state);
23}
24
25ModemCDMAProxy::Proxy::Proxy(DBus::Connection *connection,
26 const string &path,
27 const string &service)
28 : DBus::ObjectProxy(*connection, path, service.c_str()) {}
29
30ModemCDMAProxy::Proxy::~Proxy() {}
31
32void ModemCDMAProxy::Proxy::ActivationStateChanged(
33 const uint32 &activation_state,
34 const uint32 &activation_error,
35 const DBusPropertiesMap &status_changes) {
36 VLOG(2) << __func__;
37 // TODO(petkov): Implement this.
38 NOTIMPLEMENTED();
39}
40
41void ModemCDMAProxy::Proxy::SignalQuality(const uint32 &quality) {
42 VLOG(2) << __func__;
43 // TODO(petkov): Implement this.
44 NOTIMPLEMENTED();
45}
46
47void ModemCDMAProxy::Proxy::RegistrationStateChanged(
48 const uint32_t &cdma_1x_state,
49 const uint32_t &evdo_state) {
50 VLOG(2) << __func__;
51 // TODO(petkov): Implement this.
52 NOTIMPLEMENTED();
53}
54
55} // namespace shill