blob: 2626023f0635d2564069cbce1211aafaff3df865 [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
11using std::map;
12using std::string;
13
14namespace shill {
15
16// TODO(cmasone): Figure out if we should be trying to own sub-interfaces.
17// static
18const char DeviceDBusAdaptor::kInterfaceName[] = SHILL_INTERFACE; // ".Device";
19// static
20const char DeviceDBusAdaptor::kPath[] = SHILL_PATH "/Device";
21
22DeviceDBusAdaptor::DeviceDBusAdaptor(DBus::Connection& conn, Device *device)
Paul Stewart28fbfdf2011-05-31 09:37:38 -070023 : DBusAdaptor(conn, string(kPath) + string("/") + device->Name()),
Chris Masoned7732e42011-05-20 11:08:56 -070024 device_(device) {
25}
26DeviceDBusAdaptor::~DeviceDBusAdaptor() {}
27
28void DeviceDBusAdaptor::UpdateEnabled() {}
29
30map<string, ::DBus::Variant> DeviceDBusAdaptor::GetProperties(
31 ::DBus::Error &error) {
32 return map<string, ::DBus::Variant>();
33}
34
35void DeviceDBusAdaptor::SetProperty(const string& ,
36 const ::DBus::Variant& ,
37 ::DBus::Error &error) {
38}
39
40void DeviceDBusAdaptor::ProposeScan(::DBus::Error &error) {
41}
42
43::DBus::Path DeviceDBusAdaptor::AddIPConfig(const string& ,
44 ::DBus::Error &error) {
45 return ::DBus::Path();
46}
47
48} // namespace shill