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/shill_daemon.h b/shill_daemon.h
new file mode 100644
index 0000000..1ed3f47
--- /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_