| // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef SHILL_DBUS_ADAPTOR_H_ |
| #define SHILL_DBUS_ADAPTOR_H_ |
| |
| #include <string> |
| |
| #include <dbus-c++/dbus.h> |
| |
| #include "shill/adaptor_interfaces.h" |
| |
| namespace shill { |
| |
| #define SHILL_INTERFACE "org.chromium.flimflam" |
| #define SHILL_PATH "/org/chromium/flimflam" |
| |
| // Superclass for all DBus-backed Adaptor objects |
| class DBusAdaptor : public DBus::ObjectAdaptor { |
| public: |
| DBusAdaptor(DBus::Connection& conn, const DBus::Path& object_path) |
| : DBus::ObjectAdaptor(conn, object_path) { |
| } |
| virtual ~DBusAdaptor() {} |
| }; |
| |
| } // namespace shill |
| #endif // SHILL_DBUS_ADAPTOR_H_ |