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