Allow multiple objects to be destroyed
Enhance the destroyObject action to take an array
rather than a single path.
Change-Id: Ic1de7274afc253042b590c71ca200618a6ff54d2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/manager.hpp b/manager.hpp
index 2ffa47b..bd12ef6 100644
--- a/manager.hpp
+++ b/manager.hpp
@@ -97,8 +97,9 @@
const details::DbusSignal& event,
const EventInfo& info);
- /** @brief Drop an object from DBus. */
- void destroyObject(const char*);
+ /** @brief Drop one or more objects from DBus. */
+ void destroyObjects(
+ const std::vector<const char*>& paths);
/** @brief Invoke an sdbusplus server binding method.
*