Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: manager.h

Issue 6575006: Add initial sketch to shill repository (Closed) Base URL: ssh://git@gitrw.chromium.org/shill.git@master
Patch Set: A few object renames and pointer conversions Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device.cc ('k') | manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: manager.h
diff --git a/manager.h b/manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..816bdd79a19ac5963991e1a67f27c6347b50bf4c
--- /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_
« no previous file with comments | « device.cc ('k') | manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698