Paul Stewart | b50f0b9 | 2011-05-16 16:31:42 -0700 | [diff] [blame^] | 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_WIFI_ |
| 6 | #define SHILL_WIFI_ |
| 7 | |
| 8 | #include "shill/device.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 WiFi : public Device { |
| 16 | public: |
| 17 | explicit WiFi(ControlInterface *control_interface, |
| 18 | EventDispatcher *dispatcher, |
| 19 | const string &link_name, |
| 20 | int interface_index); |
| 21 | ~WiFi(); |
| 22 | bool TechnologyIs(Device::Technology type); |
| 23 | private: |
| 24 | DISALLOW_COPY_AND_ASSIGN(WiFi); |
| 25 | }; |
| 26 | |
| 27 | } // namespace shill |
| 28 | |
| 29 | #endif // SHILL_WIFI_ |