dbushelper: drop obsolete parameter from interface
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Idebae41e021f54c3670cc22aa6c784549a361c23
diff --git a/dbus/dbushelper_interface.hpp b/dbus/dbushelper_interface.hpp
index c7c2c90..4dbf00c 100644
--- a/dbus/dbushelper_interface.hpp
+++ b/dbus/dbushelper_interface.hpp
@@ -1,7 +1,5 @@
#pragma once
-#include <sdbusplus/bus.hpp>
-
#include <cstdint>
#include <string>
@@ -26,8 +24,7 @@
*
* @warning Throws exception on dbus failure.
*/
- virtual std::string getService(sdbusplus::bus::bus& bus,
- const std::string& intf,
+ virtual std::string getService(const std::string& intf,
const std::string& path) = 0;
/** @brief Get all Sensor.Value properties for a service and path.
@@ -39,8 +36,7 @@
*
* @warning Throws exception on dbus failure.
*/
- virtual void getProperties(sdbusplus::bus::bus& bus,
- const std::string& service,
+ virtual void getProperties(const std::string& service,
const std::string& path,
struct SensorProperties* prop) = 0;
@@ -50,8 +46,7 @@
* @param[in] service - The service providing the interface.
* @param[in] path - The dbus path.
*/
- virtual bool thresholdsAsserted(sdbusplus::bus::bus& bus,
- const std::string& service,
+ virtual bool thresholdsAsserted(const std::string& service,
const std::string& path) = 0;
};