aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-02-26 03:46:01 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-02-26 03:46:01 -0600
commite5f71ea767515f50f5ed8c34946a87746a3d4ed7 (patch)
tree57e6d0c7094593193c5c82c017adaf8ccc163573 /include/datetime
parentbb4bb77908d8ccd80260aee4541e45d0a075b0ad (diff)
downloadayatana-indicator-datetime-e5f71ea767515f50f5ed8c34946a87746a3d4ed7.tar.gz
ayatana-indicator-datetime-e5f71ea767515f50f5ed8c34946a87746a3d4ed7.tar.bz2
ayatana-indicator-datetime-e5f71ea767515f50f5ed8c34946a87746a3d4ed7.zip
use the timezones object to set the ECalComponent's default timezone. This is needed to properly handle the 'floating' dates in the alarms
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/planner-eds.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/datetime/planner-eds.h b/include/datetime/planner-eds.h
index a99f611..32ea57a 100644
--- a/include/datetime/planner-eds.h
+++ b/include/datetime/planner-eds.h
@@ -22,6 +22,7 @@
#include <datetime/clock.h>
#include <datetime/planner.h>
+#include <datetime/timezones.h>
#include <memory> // shared_ptr, unique_ptr
@@ -35,7 +36,8 @@ namespace datetime {
class PlannerEds: public Planner
{
public:
- PlannerEds(const std::shared_ptr<Clock>& clock);
+ PlannerEds(const std::shared_ptr<Clock>& clock,
+ const std::shared_ptr<Timezones>& timezones);
virtual ~PlannerEds();
private: