Ben Chan | 99c8a4d | 2012-05-01 08:11:53 -0700 | [diff] [blame^] | 1 | // Copyright (c) 2012 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_WIMAX_SERVICE_H_ |
| 6 | #define SHILL_WIMAX_SERVICE_H_ |
| 7 | |
| 8 | #include "shill/refptr_types.h" |
| 9 | #include "shill/service.h" |
| 10 | |
| 11 | namespace shill { |
| 12 | |
| 13 | class WiMaxService : public Service { |
| 14 | public: |
| 15 | WiMaxService(ControlInterface *control, |
| 16 | EventDispatcher *dispatcher, |
| 17 | Metrics *metrics, |
| 18 | Manager *manager, |
| 19 | const WiMaxRefPtr &wimax); |
| 20 | virtual ~WiMaxService(); |
| 21 | |
| 22 | // Inherited from Service. |
| 23 | virtual bool TechnologyIs(const Technology::Identifier type) const; |
| 24 | virtual void Connect(Error *error); |
| 25 | virtual void Disconnect(Error *error); |
| 26 | |
| 27 | private: |
| 28 | WiMaxRefPtr wimax_; |
| 29 | |
| 30 | DISALLOW_COPY_AND_ASSIGN(WiMaxService); |
| 31 | }; |
| 32 | |
| 33 | } // namespace shill |
| 34 | |
| 35 | #endif // SHILL_WIMAX_SERVICE_H_ |