blob: e61e2b2b0ffff1c5af566d6742dd17327305e2d4 [file] [log] [blame]
Paul Stewartb50f0b92011-05-16 16:31:42 -07001// 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 Masone46eaaf52011-05-24 13:08:30 -07008#include <string>
9
Paul Stewartb50f0b92011-05-16 16:31:42 -070010#include "shill/device.h"
11#include "shill/shill_event.h"
12
13namespace shill {
14
15// Device superclass. Individual network interfaces types will inherit from
16// this class.
17class WiFi : public Device {
18 public:
Paul Stewartf1ce5d22011-05-19 13:10:20 -070019 WiFi(ControlInterface *control_interface,
20 EventDispatcher *dispatcher,
21 Manager *manager,
22 const std::string& link_name,
23 int interface_index);
Paul Stewartb50f0b92011-05-16 16:31:42 -070024 ~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_