Darin Petkov | 9893d9c | 2012-05-17 15:27:31 -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 | |
Ben Chan | 4e5c131 | 2012-05-18 18:45:38 -0700 | [diff] [blame^] | 5 | #ifndef SHILL_WIMAX_NETWORK_PROXY_INTERFACE_H_ |
| 6 | #define SHILL_WIMAX_NETWORK_PROXY_INTERFACE_H_ |
Darin Petkov | 9893d9c | 2012-05-17 15:27:31 -0700 | [diff] [blame] | 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | #include <base/basictypes.h> |
Ben Chan | 4e5c131 | 2012-05-18 18:45:38 -0700 | [diff] [blame^] | 11 | #include <dbus-c++/dbus.h> |
Darin Petkov | 9893d9c | 2012-05-17 15:27:31 -0700 | [diff] [blame] | 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | class Error; |
| 16 | |
| 17 | // These are the methods that a WiMaxManager.Network proxy must support. The |
| 18 | // interface is provided so that it can be mocked in tests. |
| 19 | class WiMaxNetworkProxyInterface { |
| 20 | public: |
| 21 | virtual ~WiMaxNetworkProxyInterface() {} |
| 22 | |
Ben Chan | 4e5c131 | 2012-05-18 18:45:38 -0700 | [diff] [blame^] | 23 | virtual DBus::Path proxy_object_path() const = 0; |
| 24 | |
Darin Petkov | 9893d9c | 2012-05-17 15:27:31 -0700 | [diff] [blame] | 25 | // Properties. |
| 26 | virtual uint32 Identifier(Error *error) = 0; |
| 27 | virtual std::string Name(Error *error) = 0; |
| 28 | virtual int Type(Error *error) = 0; |
| 29 | virtual int CINR(Error *error) = 0; |
| 30 | virtual int RSSI(Error *error) = 0; |
| 31 | }; |
| 32 | |
| 33 | } // namespace shill |
| 34 | |
| 35 | #endif // SHILL_WIMAX_NETWORK_PROXY_INTERFACE_H_ |