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

Side by Side Diff: device.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 unified diff | Download patch
« no previous file with comments | « dbus_control_int.h ('k') | device.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DEVICE_
6 #define SHILL_DEVICE_
7
8 #include "shill/resource.h"
9 #include "shill/shill_event.h"
10
11 namespace shill {
12
13 // Device superclass. Individual network interfaces types will inherit from
14 // this class.
15 class Device : public Resource {
16 public:
17 // A constructor for the Device object
18 explicit Device(ControlInterface *control_interface,
19 EventDispatcher *dispatcher);
20 ~Device();
21 void Start();
22 void Stop();
23
24 private:
25 DeviceProxyInterface *proxy_;
26 bool running_;
27 friend class DeviceProxyInterface;
28 };
29
30 } // namespace shill
31
32 #endif // SHILL_DEVICE_
OLDNEW
« no previous file with comments | « dbus_control_int.h ('k') | device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698