blob: a164d537b7d204170b2411a0ccf738a9da220960 [file] [log] [blame]
Chris Masoned7732e42011-05-20 11:08:56 -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
Paul Stewart28fbfdf2011-05-31 09:37:38 -07005#include "shill/device.h"
Chris Masoned7732e42011-05-20 11:08:56 -07006#include "shill/device_dbus_adaptor.h"
7
8#include <map>
9#include <string>
10
Chris Masonea82b7112011-05-25 15:16:29 -070011#include "shill/device.h"
12
Chris Masoned7732e42011-05-20 11:08:56 -070013using std::map;
14using std::string;
15
16namespace shill {
17
Chris Masoned7732e42011-05-20 11:08:56 -070018// static
Chris Masonea82b7112011-05-25 15:16:29 -070019const char DeviceDBusAdaptor::kInterfaceName[] = SHILL_INTERFACE;
Chris Masoned7732e42011-05-20 11:08:56 -070020// static
Chris Masonea82b7112011-05-25 15:16:29 -070021const char DeviceDBusAdaptor::kPath[] = "/device/";
Chris Masoned7732e42011-05-20 11:08:56 -070022
23DeviceDBusAdaptor::DeviceDBusAdaptor(DBus::Connection& conn, Device *device)
Chris Masonea82b7112011-05-25 15:16:29 -070024 : DBusAdaptor(conn, kPath + device->UniqueName()),
Chris Masoned7732e42011-05-20 11:08:56 -070025 device_(device) {
26}
27DeviceDBusAdaptor::~DeviceDBusAdaptor() {}
28
29void DeviceDBusAdaptor::UpdateEnabled() {}
30
31map<string, ::DBus::Variant> DeviceDBusAdaptor::GetProperties(
32 ::DBus::Error &error) {
33 return map<string, ::DBus::Variant>();
34}
35
36void DeviceDBusAdaptor::SetProperty(const string& ,
37 const ::DBus::Variant& ,
38 ::DBus::Error &error) {
39}
40
41void DeviceDBusAdaptor::ProposeScan(::DBus::Error &error) {
42}
43
44::DBus::Path DeviceDBusAdaptor::AddIPConfig(const string& ,
45 ::DBus::Error &error) {
46 return ::DBus::Path();
47}
48
49} // namespace shill