blob: b344fee808e16f0237843580499d9df921deff35 [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
Ben Chanc45688b2014-07-02 23:50:45 -07005#ifndef SHILL_SUPPLICANT_PROCESS_PROXY_INTERFACE_H_
6#define SHILL_SUPPLICANT_PROCESS_PROXY_INTERFACE_H_
mukesh agrawalaf571952011-07-14 14:31:12 -07007
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;
Paul Stewart5581d072012-12-17 17:30:20 -080024 virtual void SetDebugLevel(const std::string &level) = 0;
25 virtual std::string GetDebugLevel() = 0;
mukesh agrawalaf571952011-07-14 14:31:12 -070026};
27
28} // namespace shill
29
Ben Chanc45688b2014-07-02 23:50:45 -070030#endif // SHILL_SUPPLICANT_PROCESS_PROXY_INTERFACE_H_