Chris Masone | d7732e4 | 2011-05-20 11:08:56 -0700 | [diff] [blame] | 1 | // 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 | |
| 10 | using std::map; |
| 11 | using std::string; |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | // TODO(cmasone): Figure out if we should be trying to own sub-interfaces. |
| 16 | // static |
| 17 | const char ServiceDBusAdaptor::kInterfaceName[] = SHILL_INTERFACE; |
| 18 | // ".Service"; |
| 19 | // static |
| 20 | const char ServiceDBusAdaptor::kPath[] = SHILL_PATH "/Service"; |
| 21 | |
| 22 | ServiceDBusAdaptor::ServiceDBusAdaptor(DBus::Connection& conn, Service *service) |
| 23 | : DBusAdaptor(conn, kPath), |
| 24 | service_(service) {} |
| 25 | ServiceDBusAdaptor::~ServiceDBusAdaptor() {} |
| 26 | |
| 27 | void ServiceDBusAdaptor::UpdateConnected() {} |
| 28 | |
| 29 | map<string, ::DBus::Variant> ServiceDBusAdaptor::GetProperties( |
| 30 | ::DBus::Error &error) { |
| 31 | return map<string, ::DBus::Variant>(); |
| 32 | } |
| 33 | |
| 34 | void ServiceDBusAdaptor::SetProperty(const string& , |
| 35 | const ::DBus::Variant& , |
| 36 | ::DBus::Error &error) { |
| 37 | } |
| 38 | |
| 39 | void ServiceDBusAdaptor::ClearProperty(const string& , ::DBus::Error &error) { |
| 40 | } |
| 41 | |
| 42 | void ServiceDBusAdaptor::Connect(::DBus::Error &error) { |
| 43 | } |
| 44 | |
| 45 | void ServiceDBusAdaptor::Disconnect(::DBus::Error &error) { |
| 46 | } |
| 47 | |
| 48 | void ServiceDBusAdaptor::Remove(::DBus::Error &error) { |
| 49 | } |
| 50 | |
| 51 | void ServiceDBusAdaptor::MoveBefore(const ::DBus::Path& , |
| 52 | ::DBus::Error &error) { |
| 53 | } |
| 54 | |
| 55 | void ServiceDBusAdaptor::MoveAfter(const ::DBus::Path& , |
| 56 | ::DBus::Error &error) { |
| 57 | } |
| 58 | |
| 59 | void ServiceDBusAdaptor::ActivateCellularModem(const string& , |
| 60 | ::DBus::Error &error) { |
| 61 | } |
| 62 | |
| 63 | } // namespace shill |