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 | |
Chris Masone | 46eaaf5 | 2011-05-24 13:08:30 -0700 | [diff] [blame] | 8 | #include <string> |
| 9 | |
Paul Stewart | b50f0b9 | 2011-05-16 16:31:42 -0700 | [diff] [blame] | 10 | #include "shill/device.h" |
| 11 | #include "shill/shill_event.h" |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | // Device superclass. Individual network interfaces types will inherit from |
| 16 | // this class. |
| 17 | class WiFi : public Device { |
| 18 | public: |
Paul Stewart | f1ce5d2 | 2011-05-19 13:10:20 -0700 | [diff] [blame^] | 19 | WiFi(ControlInterface *control_interface, |
| 20 | EventDispatcher *dispatcher, |
| 21 | Manager *manager, |
| 22 | const std::string& link_name, |
| 23 | int interface_index); |
Paul Stewart | b50f0b9 | 2011-05-16 16:31:42 -0700 | [diff] [blame] | 24 | ~WiFi(); |
| 25 | bool TechnologyIs(Device::Technology type); |
| 26 | private: |
| 27 | DISALLOW_COPY_AND_ASSIGN(WiFi); |
| 28 | }; |
| 29 | |
| 30 | } // namespace shill |
| 31 | |
| 32 | #endif // SHILL_WIFI_ |