summaryrefslogtreecommitdiffhomepage
path: root/InternalClick.h
diff options
context:
space:
mode:
Diffstat (limited to 'InternalClick.h')
-rw-r--r--InternalClick.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/InternalClick.h b/InternalClick.h
index 1fffb6c..3fb04d4 100644
--- a/InternalClick.h
+++ b/InternalClick.h
@@ -1,5 +1,7 @@
#pragma once
+#include <chrono>
+
#include <boost/signals2.hpp>
#include "config.h"
@@ -15,7 +17,7 @@ public:
InternalClick(Config& config);
// signals
- boost::signals2::signal<void(int64_t)> signal_click;
+ boost::signals2::signal<void(std::chrono::duration<double>)> signal_click; // offset in s
// slots
void run_cyclic_50ms();