Darin Petkov | c90fe52 | 2011-07-15 13:59:47 -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_MODEM_MANAGER_PROXY_INTERFACE_ |
| 6 | #define SHILL_MODEM_MANAGER_PROXY_INTERFACE_ |
| 7 | |
| 8 | #include <vector> |
| 9 | |
| 10 | #include <dbus-c++/types.h> |
| 11 | |
| 12 | namespace shill { |
| 13 | |
| 14 | // These are the methods that a ModemManager proxy must support. The interface |
| 15 | // is provided so that it can be mocked in tests. |
| 16 | class ModemManagerProxyInterface { |
| 17 | public: |
| 18 | virtual ~ModemManagerProxyInterface() {} |
| 19 | |
| 20 | virtual std::vector<DBus::Path> EnumerateDevices() = 0; |
| 21 | }; |
| 22 | |
| 23 | } // namespace shill |
| 24 | |
| 25 | #endif // SHILL_MODEM_MANAGER_PROXY_INTERFACE_ |