summaryrefslogtreecommitdiffstats
path: root/src/watch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch.hpp')
-rw-r--r--src/watch.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/watch.hpp b/src/watch.hpp
index 9c97b9e..a44480c 100644
--- a/src/watch.hpp
+++ b/src/watch.hpp
@@ -37,6 +37,9 @@ class Watch
/** @brief Invoke the callback associated with the watch. */
virtual void callback(Context ctx) = 0;
+
+ /** @brief Invoke the callback associated with the watch. */
+ virtual void callback(Context ctx, sdbusplus::message::message& msg){};
};
} // namespace monitoring
OpenPOWER on IntegriCloud