diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-06-24 00:06:55 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-06-24 00:06:55 -0500 |
commit | dd54649aa56790ec43fc4272bc41e6916b4ebb31 (patch) | |
tree | 33acfae20aafafedab76921053426ba3fa36d6c2 /include | |
parent | 373832769c30a950629a4ca9474bd7f5bf03a6b4 (diff) | |
download | ayatana-indicator-datetime-dd54649aa56790ec43fc4272bc41e6916b4ebb31.tar.gz ayatana-indicator-datetime-dd54649aa56790ec43fc4272bc41e6916b4ebb31.tar.bz2 ayatana-indicator-datetime-dd54649aa56790ec43fc4272bc41e6916b4ebb31.zip |
in the snap decision code, handle sound custom loop durations
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; }; |