blob: 9cb3e8f623bcb1e2fe6c495a55b97d4ba6380cb2 [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;
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
30#endif // SUPPLICANT_PROCESS_PROXY_INTERFACE_H_