blob: d30c06520372ccd4d7f9474836aa8cf3db5ce2e7 [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_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
13namespace shill {
14
15// SupplicantProcessProxyInterface declares only the subset of
16// fi::w1::wpa_supplicant1_proxy that is actually used by WiFi.
17class SupplicantProcessProxyInterface {
18 public:
19 virtual ~SupplicantProcessProxyInterface() {}
20 virtual ::DBus::Path CreateInterface(
21 const std::map<std::string, ::DBus::Variant> &args) = 0;
mukesh agrawalaf571952011-07-14 14:31:12 -070022 virtual ::DBus::Path GetInterface(const std::string &ifname) = 0;
mukesh agrawal31950242011-07-14 11:53:38 -070023 virtual void RemoveInterface(const ::DBus::Path &path) = 0;
mukesh agrawalaf571952011-07-14 14:31:12 -070024};
25
26} // namespace shill
27
28#endif // SUPPLICANT_PROCESS_PROXY_INTERFACE_H_