summaryrefslogtreecommitdiffstats
path: root/src/watch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch.hpp')
-rw-r--r--src/watch.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/watch.hpp b/src/watch.hpp
index e36af9c..d420458 100644
--- a/src/watch.hpp
+++ b/src/watch.hpp
@@ -1,5 +1,7 @@
#pragma once
+#include "data_types.hpp"
+
namespace phosphor
{
namespace dbus
@@ -34,7 +36,7 @@ class Watch
virtual void start() = 0;
/** @brief Invoke the callback associated with the watch. */
- virtual void callback() = 0;
+ virtual void callback(Context ctx) = 0;
};
OpenPOWER on IntegriCloud