blob: 3328667cc8afc76f125c3ed66770959942c1004e [file] [log] [blame]
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "shill/modem_proxy.h"
#include <base/logging.h>
using std::string;
namespace shill {
ModemProxy::ModemProxy(DBus::Connection *connection,
const string &path,
const string &service)
: proxy_(connection, path, service) {}
ModemProxy::~ModemProxy() {}
void ModemProxy::Enable(const bool enable) {
proxy_.Enable(enable);
}
ModemProxyInterface::Info ModemProxy::GetInfo() {
return proxy_.GetInfo();
}
ModemProxy::Proxy::Proxy(DBus::Connection *connection,
const string &path,
const string &service)
: DBus::ObjectProxy(*connection, path, service.c_str()) {}
ModemProxy::Proxy::~Proxy() {}
void ModemProxy::Proxy::StateChanged(const uint32 &old,
const uint32 &_new,
const uint32 &reason) {
VLOG(2) << __func__;
// TODO(petkov): Implement this.
NOTIMPLEMENTED();
}
} // namespace shill