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

Unified Diff: shill_daemon.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 | « shill_config.cc ('k') | shill_daemon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shill_daemon.h
diff --git a/shill_daemon.h b/shill_daemon.h
new file mode 100644
index 0000000000000000000000000000000000000000..1ed3f4753f3c07ce5cf161b2c7b286b96d4f7cc5
--- /dev/null
+++ b/shill_daemon.h
@@ -0,0 +1,36 @@
+// Copyright (c) 2010 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_H_
+#define SHILL_H_
+
+#include <string>
+
+#include <ctime>
+
+#include "shill/shill_config.h"
+#include "shill/control_interface.h"
+#include "shill/shill_event.h"
+#include "shill/manager.h"
+
+namespace shill {
+
+class Daemon {
+ public:
+ explicit Daemon(Config *config, ControlInterface *control);
+ ~Daemon();
+ void Run();
+
+ private:
+ ControlInterface *CreateControl();
+ Config *config_;
+ ControlInterface *control_;
+ Manager manager_;
+ EventDispatcher dispatcher_;
+ friend class ShillDaemonTest;
+};
+
+} // namespace shill
+
+#endif // SHILL_H_
« no previous file with comments | « shill_config.cc ('k') | shill_daemon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698