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

Side by Side Diff: manager.h

Issue 6575006: Add initial sketch to shill repository (Closed) Base URL: ssh://git@gitrw.chromium.org/shill.git@master
Patch Set: Add device and service mockups Created 9 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SHILL_MANAGER_
6 #define SHILL_MANAGER_
7
8 #include <vector>
9
10 #include "shill/resource.h"
11 #include "shill/shill_event.h"
12 #include "shill/service.h"
13 #include "shill/device.h"
14
15 namespace shill {
16
17 class Manager : public Resource {
18 public:
19 // A constructor for the Manager object
20 explicit Manager(ControlInterface *control_interface,
21 EventDispatcher *dispatcher);
22 ~Manager();
23 void Start();
24 void Stop();
25
26 private:
27 ManagerProxyInterface *proxy_;
28 bool running_;
29 std::vector<Device*> devices_;
30 std::vector<Service*> services_;
31 friend class ManagerProxyInterface;
32 };
33
34 } // namespace shill
35
36 #endif // SHILL_MANAGER_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698