From dd54649aa56790ec43fc4272bc41e6916b4ebb31 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 24 Jun 2014 00:06:55 -0500 Subject: in the snap decision code, handle sound custom loop durations --- include/datetime/snap.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/datetime') diff --git a/include/datetime/snap.h b/include/datetime/snap.h index ffd3aa0..9b45b3f 100644 --- a/include/datetime/snap.h +++ b/include/datetime/snap.h @@ -21,6 +21,7 @@ #define INDICATOR_DATETIME_SNAP_H #include +#include #include #include @@ -36,7 +37,8 @@ namespace datetime { class Snap { public: - Snap(const std::shared_ptr& settings); + Snap(const std::shared_ptr& clock, + const std::shared_ptr& settings); virtual ~Snap(); typedef std::function appointment_func; @@ -45,6 +47,7 @@ public: appointment_func dismiss); private: + const std::shared_ptr m_clock; const std::shared_ptr m_settings; }; -- cgit v1.2.3