blob: 186229423882fcf765ce9425ec7a76a2212c48c8 [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/service_dbus_adaptor.h"
6
7#include <map>
8#include <string>
9
Chris Masonea82b7112011-05-25 15:16:29 -070010#include "shill/service.h"
11
Chris Masoned7732e42011-05-20 11:08:56 -070012using std::map;
13using std::string;
14
15namespace shill {
16
Chris Masoned7732e42011-05-20 11:08:56 -070017// static
18const char ServiceDBusAdaptor::kInterfaceName[] = SHILL_INTERFACE;
Chris Masoned7732e42011-05-20 11:08:56 -070019// static
Chris Masonea82b7112011-05-25 15:16:29 -070020const char ServiceDBusAdaptor::kPath[] = "/service/";
Chris Masoned7732e42011-05-20 11:08:56 -070021
22ServiceDBusAdaptor::ServiceDBusAdaptor(DBus::Connection& conn, Service *service)
Chris Masonea82b7112011-05-25 15:16:29 -070023 : DBusAdaptor(conn, kPath + service->UniqueName()),
Chris Masoned7732e42011-05-20 11:08:56 -070024 service_(service) {}
25ServiceDBusAdaptor::~ServiceDBusAdaptor() {}
26
27void ServiceDBusAdaptor::UpdateConnected() {}
28
29map<string, ::DBus::Variant> ServiceDBusAdaptor::GetProperties(
30 ::DBus::Error &error) {
31 return map<string, ::DBus::Variant>();
32}
33
34void ServiceDBusAdaptor::SetProperty(const string& ,
35 const ::DBus::Variant& ,
36 ::DBus::Error &error) {
37}
38
39void ServiceDBusAdaptor::ClearProperty(const string& , ::DBus::Error &error) {
40}
41
42void ServiceDBusAdaptor::Connect(::DBus::Error &error) {
43}
44
45void ServiceDBusAdaptor::Disconnect(::DBus::Error &error) {
46}
47
48void ServiceDBusAdaptor::Remove(::DBus::Error &error) {
49}
50
51void ServiceDBusAdaptor::MoveBefore(const ::DBus::Path& ,
52 ::DBus::Error &error) {
53}
54
55void ServiceDBusAdaptor::MoveAfter(const ::DBus::Path& ,
56 ::DBus::Error &error) {
57}
58
59void ServiceDBusAdaptor::ActivateCellularModem(const string& ,
60 ::DBus::Error &error) {
61}
62
63} // namespace shill