[shill] Wire shill to dbus

Refactor necessary classes into their own headers and such as well.

BUG=chromium-os:15578
TEST=unit tests, shill --foreground on device

Change-Id: Ib9c5a0e9dab779ecc44c1d0144035f5a09e1086e
Reviewed-on: http://gerrit.chromium.org/gerrit/1307
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/device_dbus_adaptor.cc b/device_dbus_adaptor.cc
new file mode 100644
index 0000000..fe19eba
--- /dev/null
+++ b/device_dbus_adaptor.cc
@@ -0,0 +1,47 @@
+// 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.
+
+#include "shill/device_dbus_adaptor.h"
+
+#include <map>
+#include <string>
+
+using std::map;
+using std::string;
+
+namespace shill {
+
+// TODO(cmasone): Figure out if we should be trying to own sub-interfaces.
+// static
+const char DeviceDBusAdaptor::kInterfaceName[] = SHILL_INTERFACE;  // ".Device";
+// static
+const char DeviceDBusAdaptor::kPath[] = SHILL_PATH "/Device";
+
+DeviceDBusAdaptor::DeviceDBusAdaptor(DBus::Connection& conn, Device *device)
+    : DBusAdaptor(conn, kPath),
+      device_(device) {
+}
+DeviceDBusAdaptor::~DeviceDBusAdaptor() {}
+
+void DeviceDBusAdaptor::UpdateEnabled() {}
+
+map<string, ::DBus::Variant> DeviceDBusAdaptor::GetProperties(
+    ::DBus::Error &error) {
+  return map<string, ::DBus::Variant>();
+}
+
+void DeviceDBusAdaptor::SetProperty(const string& ,
+                                    const ::DBus::Variant& ,
+                                    ::DBus::Error &error) {
+}
+
+void DeviceDBusAdaptor::ProposeScan(::DBus::Error &error) {
+}
+
+::DBus::Path DeviceDBusAdaptor::AddIPConfig(const string& ,
+                                            ::DBus::Error &error) {
+  return ::DBus::Path();
+}
+
+}  // namespace shill