shill: Create Modem instances for ModemManager.Modem paths.

Each Modem instance will manage a single ModemManager.Modem and a single
Cellular device.

BUG=chromium-os:17818
TEST=unit tests, tested on device

Change-Id: I4798224f0bc824bd6d1177e6a6b89f65ca4725ba
Reviewed-on: http://gerrit.chromium.org/gerrit/4356
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
diff --git a/modem.cc b/modem.cc
new file mode 100644
index 0000000..c640789
--- /dev/null
+++ b/modem.cc
@@ -0,0 +1,25 @@
+// 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/modem.h"
+
+#include "shill/dbus_properties_proxy_interface.h"
+#include "shill/proxy_factory.h"
+
+namespace shill {
+
+Modem::Modem(const std::string &owner,
+             const std::string &path,
+             ControlInterface *control_interface,
+             EventDispatcher *dispatcher,
+             Manager *manager)
+    : dbus_properties_proxy_(
+        ProxyFactory::factory()->CreateDBusPropertiesProxy(this, path, owner)),
+      control_interface_(control_interface),
+      dispatcher_(dispatcher),
+      manager_(manager) {}
+
+Modem::~Modem() {}
+
+}  // namespace shill