aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/snap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/datetime/snap.h')
-rw-r--r--include/datetime/snap.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/datetime/snap.h b/include/datetime/snap.h
index 9b45b3f..ef5c868 100644
--- a/include/datetime/snap.h
+++ b/include/datetime/snap.h
@@ -21,11 +21,12 @@
#define INDICATOR_DATETIME_SNAP_H
#include <datetime/appointment.h>
-#include <datetime/clock.h>
#include <datetime/settings.h>
-#include <memory>
+#include <notifications/notifications.h>
+
#include <functional>
+#include <memory>
namespace unity {
namespace indicator {
@@ -37,7 +38,7 @@ namespace datetime {
class Snap
{
public:
- Snap(const std::shared_ptr<Clock>& clock,
+ Snap(const std::shared_ptr<unity::indicator::notifications::Engine>& engine,
const std::shared_ptr<const Settings>& settings);
virtual ~Snap();
@@ -47,8 +48,8 @@ public:
appointment_func dismiss);
private:
- const std::shared_ptr<Clock> m_clock;
- const std::shared_ptr<const Settings> m_settings;
+ class Impl;
+ std::unique_ptr<Impl> impl;
};
} // namespace datetime