mukesh agrawal | f202817 | 2012-03-13 14:20:22 -0700 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
mukesh agrawal | af57195 | 2011-07-14 14:31:12 -0700 | [diff] [blame] | 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 SUPPLICANT_INTERFACE_PROXY_INTERFACE_H_ |
| 6 | #define SUPPLICANT_INTERFACE_PROXY_INTERFACE_H_ |
| 7 | |
| 8 | #include <map> |
| 9 | #include <string> |
| 10 | |
| 11 | #include <dbus-c++/dbus.h> |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | // SupplicantInterfaceProxyInterface declares only the subset of |
| 16 | // fi::w1::wpa_supplicant1::Interface_proxy that is actually used by WiFi. |
| 17 | class SupplicantInterfaceProxyInterface { |
| 18 | public: |
| 19 | virtual ~SupplicantInterfaceProxyInterface() {} |
| 20 | |
| 21 | virtual ::DBus::Path AddNetwork( |
| 22 | const std::map<std::string, ::DBus::Variant> &args) = 0; |
Paul Stewart | 66c8600 | 2012-01-30 18:00:52 -0800 | [diff] [blame] | 23 | virtual void ClearCachedCredentials() = 0; |
mukesh agrawal | 0ed0f2e | 2011-12-05 20:36:17 +0000 | [diff] [blame] | 24 | virtual void Disconnect() = 0; |
mukesh agrawal | af57195 | 2011-07-14 14:31:12 -0700 | [diff] [blame] | 25 | virtual void FlushBSS(const uint32_t &age) = 0; |
| 26 | virtual void RemoveAllNetworks() = 0; |
mukesh agrawal | 1590839 | 2011-11-16 18:29:25 +0000 | [diff] [blame] | 27 | virtual void RemoveNetwork(const ::DBus::Path &network) = 0; |
mukesh agrawal | af57195 | 2011-07-14 14:31:12 -0700 | [diff] [blame] | 28 | virtual void Scan( |
| 29 | const std::map<std::string, ::DBus::Variant> &args) = 0; |
| 30 | virtual void SelectNetwork(const ::DBus::Path &network) = 0; |
Paul Stewart | 2987dcf | 2012-01-30 15:47:42 -0800 | [diff] [blame] | 31 | virtual void SetFastReauth(bool enabled) = 0; |
mukesh agrawal | f202817 | 2012-03-13 14:20:22 -0700 | [diff] [blame] | 32 | virtual void SetScanInterval(int seconds) = 0; |
mukesh agrawal | af57195 | 2011-07-14 14:31:12 -0700 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | } // namespace shill |
| 36 | |
| 37 | #endif // SUPPLICANT_INTERFACE_PROXY_INTERFACE_H_ |