blob: fe19eba5139473d5d1a49dc17c28b9518f94b9dd [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
5#include "shill/device_dbus_adaptor.h"
6
7#include <map>
8#include <string>
9
10using std::map;
11using std::string;
12
13namespace shill {
14
15// TODO(cmasone): Figure out if we should be trying to own sub-interfaces.
16// static
17const char DeviceDBusAdaptor::kInterfaceName[] = SHILL_INTERFACE; // ".Device";
18// static
19const char DeviceDBusAdaptor::kPath[] = SHILL_PATH "/Device";
20
21DeviceDBusAdaptor::DeviceDBusAdaptor(DBus::Connection& conn, Device *device)
22 : DBusAdaptor(conn, kPath),
23 device_(device) {
24}
25DeviceDBusAdaptor::~DeviceDBusAdaptor() {}
26
27void DeviceDBusAdaptor::UpdateEnabled() {}
28
29map<string, ::DBus::Variant> DeviceDBusAdaptor::GetProperties(
30 ::DBus::Error &error) {
31 return map<string, ::DBus::Variant>();
32}
33
34void DeviceDBusAdaptor::SetProperty(const string& ,
35 const ::DBus::Variant& ,
36 ::DBus::Error &error) {
37}
38
39void DeviceDBusAdaptor::ProposeScan(::DBus::Error &error) {
40}
41
42::DBus::Path DeviceDBusAdaptor::AddIPConfig(const string& ,
43 ::DBus::Error &error) {
44 return ::DBus::Path();
45}
46
47} // namespace shill