aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-02-04 09:57:51 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-02-04 09:57:51 -0600
commit61accb9ce497e1f1cbe8038ac495d66d6a4505ff (patch)
tree38bdeca217e4042d0b8578b663df99a922dd918a /include
parent894c0c625ff1e2f2d031f48f157a3008302cb5a7 (diff)
downloadayatana-indicator-datetime-61accb9ce497e1f1cbe8038ac495d66d6a4505ff.tar.gz
ayatana-indicator-datetime-61accb9ce497e1f1cbe8038ac495d66d6a4505ff.tar.bz2
ayatana-indicator-datetime-61accb9ce497e1f1cbe8038ac495d66d6a4505ff.zip
use the appointment's beginning time in the title of the alarm Snap Decision
Diffstat (limited to 'include')
-rw-r--r--include/datetime/snap.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/datetime/snap.h b/include/datetime/snap.h
index d6f5aad..584d895 100644
--- a/include/datetime/snap.h
+++ b/include/datetime/snap.h
@@ -21,8 +21,6 @@
#define INDICATOR_DATETIME_SNAP_H
#include <datetime/appointment.h>
-#include <datetime/clock.h>
-#include <datetime/formatter.h>
#include <memory>
@@ -36,12 +34,9 @@ namespace datetime {
class Snap
{
public:
- Snap(const std::shared_ptr<Clock>&);
- virtual ~Snap() =default;
+ Snap();
+ virtual ~Snap();
void operator()(const Appointment&);
-
-private:
- PhoneFormatter m_formatter;
};
} // namespace datetime