diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime/snap.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <datetime/appointment.h> +#include <datetime/clock.h> #include <datetime/settings.h> #include <memory> @@ -36,7 +37,8 @@ namespace datetime { class Snap { public: - Snap(const std::shared_ptr<const Settings>& settings); + Snap(const std::shared_ptr<Clock>& clock, + const std::shared_ptr<const Settings>& settings); virtual ~Snap(); typedef std::function<void(const Appointment&)> appointment_func; @@ -45,6 +47,7 @@ public: appointment_func dismiss); private: + const std::shared_ptr<Clock> m_clock; const std::shared_ptr<const Settings> m_settings; }; |