blob: c4be6b90323d2c79319c1a12ea938a78fa4525f1 [file] [log] [blame]
mukesh agrawalaf571952011-07-14 14:31:12 -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 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
13namespace shill {
14
15// SupplicantInterfaceProxyInterface declares only the subset of
16// fi::w1::wpa_supplicant1::Interface_proxy that is actually used by WiFi.
17class SupplicantInterfaceProxyInterface {
18 public:
19 virtual ~SupplicantInterfaceProxyInterface() {}
20
21 virtual ::DBus::Path AddNetwork(
22 const std::map<std::string, ::DBus::Variant> &args) = 0;
23 virtual void FlushBSS(const uint32_t &age) = 0;
24 virtual void RemoveAllNetworks() = 0;
25 virtual void Scan(
26 const std::map<std::string, ::DBus::Variant> &args) = 0;
27 virtual void SelectNetwork(const ::DBus::Path &network) = 0;
28};
29
30} // namespace shill
31
32#endif // SUPPLICANT_INTERFACE_PROXY_INTERFACE_H_