mukesh agrawal | af57195 | 2011-07-14 14:31:12 -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 SUPPLICANT_PROCESS_PROXY_INTERFACE_H_ |
| 6 | #define SUPPLICANT_PROCESS_PROXY_INTERFACE_H_ |
| 7 | |
| 8 | #include <map> |
| 9 | #include <string> |
| 10 | |
| 11 | #include <dbus-c++/dbus.h> |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | // SupplicantProcessProxyInterface declares only the subset of |
| 16 | // fi::w1::wpa_supplicant1_proxy that is actually used by WiFi. |
| 17 | class SupplicantProcessProxyInterface { |
| 18 | public: |
| 19 | virtual ~SupplicantProcessProxyInterface() {} |
| 20 | virtual ::DBus::Path CreateInterface( |
| 21 | const std::map<std::string, ::DBus::Variant> &args) = 0; |
mukesh agrawal | af57195 | 2011-07-14 14:31:12 -0700 | [diff] [blame] | 22 | virtual ::DBus::Path GetInterface(const std::string &ifname) = 0; |
mukesh agrawal | 3195024 | 2011-07-14 11:53:38 -0700 | [diff] [blame] | 23 | virtual void RemoveInterface(const ::DBus::Path &path) = 0; |
Paul Stewart | 5581d07 | 2012-12-17 17:30:20 -0800 | [diff] [blame] | 24 | virtual void SetDebugLevel(const std::string &level) = 0; |
| 25 | virtual std::string GetDebugLevel() = 0; |
mukesh agrawal | af57195 | 2011-07-14 14:31:12 -0700 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | } // namespace shill |
| 29 | |
| 30 | #endif // SUPPLICANT_PROCESS_PROXY_INTERFACE_H_ |