Chris Masone | d7732e4 | 2011-05-20 11:08:56 -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_ADAPTOR_INTERFACES_ |
| 6 | #define SHILL_ADAPTOR_INTERFACES_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | namespace shill { |
| 11 | |
| 12 | // These are the functions that a Manager adaptor must support |
| 13 | class ManagerAdaptorInterface { |
| 14 | public: |
| 15 | virtual void UpdateRunning() = 0; |
| 16 | virtual ~ManagerAdaptorInterface() {} |
| 17 | }; |
| 18 | |
| 19 | // These are the functions that a Service adaptor must support |
| 20 | class ServiceAdaptorInterface { |
| 21 | public: |
| 22 | virtual void UpdateConnected() = 0; |
| 23 | virtual ~ServiceAdaptorInterface() {} |
| 24 | }; |
| 25 | |
| 26 | // These are the functions that a Device adaptor must support |
| 27 | class DeviceAdaptorInterface { |
| 28 | public: |
| 29 | virtual void UpdateEnabled() = 0; |
| 30 | virtual ~DeviceAdaptorInterface() {} |
| 31 | }; |
| 32 | |
| 33 | } // namespace shill |
| 34 | #endif // SHILL_ADAPTOR_INTERFACES_ |