summaryrefslogtreecommitdiffstats
path: root/control/handlers.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'control/handlers.hpp')
-rw-r--r--control/handlers.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/control/handlers.hpp b/control/handlers.hpp
index 0503c53..79c299b 100644
--- a/control/handlers.hpp
+++ b/control/handlers.hpp
@@ -15,17 +15,18 @@ namespace handler
* an object's path and property names
*
* @param[in] path - Object's path name
+ * @param[in] interface - Object's interface name
* @param[in] property - Object's property name
*
* @return Lambda function
* A lambda function to set/update the property value
*/
template <typename T>
-auto setProperty(const char* path, const char* property)
+auto setProperty(const char* path, const char* interface, const char* property)
{
return [=](auto& zone, T&& arg)
{
- zone.setPropertyValue(path, property, std::forward<T>(arg));
+ zone.setPropertyValue(path, interface, property, std::forward<T>(arg));
};
}
OpenPOWER on IntegriCloud