Add initial sketch to shill repository
BUG=chromium-os:12066
TEST=command-line
Change-Id: If1d01bf78fca80de4cc8a26e096e1967293d9738
Review URL: http://codereview.chromium.org//6575006
diff --git a/manager.h b/manager.h
new file mode 100644
index 0000000..816bdd7
--- /dev/null
+++ b/manager.h
@@ -0,0 +1,36 @@
+// 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_MANAGER_
+#define SHILL_MANAGER_
+
+#include <vector>
+
+#include "shill/resource.h"
+#include "shill/shill_event.h"
+#include "shill/service.h"
+#include "shill/device.h"
+
+namespace shill {
+
+class Manager : public Resource {
+ public:
+ // A constructor for the Manager object
+ explicit Manager(ControlInterface *control_interface,
+ EventDispatcher *dispatcher);
+ ~Manager();
+ void Start();
+ void Stop();
+
+ private:
+ ManagerProxyInterface *proxy_;
+ bool running_;
+ std::vector<Device*> devices_;
+ std::vector<Service*> services_;
+ friend class ManagerProxyInterface;
+};
+
+} // namespace shill
+
+#endif // SHILL_MANAGER_