blob: a64678e545109f2ef2fcc453183b47b87f0f9b39 [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_manager_proxy.h"
#include <base/logging.h>
#include "shill/modem_manager.h"
using std::string;
using std::vector;
namespace shill {
ModemManagerProxy::ModemManagerProxy(DBus::Connection *connection,
ModemManager *manager,
const string &path,
const string &service)
: proxy_(connection, manager, path, service) {}
ModemManagerProxy::~ModemManagerProxy() {}
vector<DBus::Path> ModemManagerProxy::EnumerateDevices() {
return proxy_.EnumerateDevices();
ModemManagerProxy::Proxy::Proxy(DBus::Connection *connection,
ModemManager *manager,
const string &path,
const string &service)
: DBus::ObjectProxy(*connection, path, service.c_str()),
manager_(manager) {}
ModemManagerProxy::Proxy::~Proxy() {}
void ModemManagerProxy::Proxy::DeviceAdded(const DBus::Path &device) {
void ModemManagerProxy::Proxy::DeviceRemoved(const DBus::Path &device) {
} // namespace shill