diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-02 10:35:27 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-09-02 10:35:27 -0500 |
commit | 15a383a7b027d281dcdaa85a43eb3563031366bf (patch) | |
tree | f344fef0f3950b02fca241209b35de9be70252b0 /include/datetime/planner.h | |
parent | 31cb88dcdffee6c66e00ab6247f4d0c7b088cf28 (diff) | |
download | ayatana-indicator-datetime-15a383a7b027d281dcdaa85a43eb3563031366bf.tar.gz ayatana-indicator-datetime-15a383a7b027d281dcdaa85a43eb3563031366bf.tar.bz2 ayatana-indicator-datetime-15a383a7b027d281dcdaa85a43eb3563031366bf.zip |
add SnoozePlanner, AggregatePlanner
Diffstat (limited to 'include/datetime/planner.h')
-rw-r--r-- | include/datetime/planner.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/datetime/planner.h b/include/datetime/planner.h index e6ef927..43991ec 100644 --- a/include/datetime/planner.h +++ b/include/datetime/planner.h @@ -38,10 +38,13 @@ class Planner { public: virtual ~Planner() =default; + virtual core::Property<std::vector<Appointment>>& appointments() =0; protected: Planner() =default; + static void sort(std::vector<Appointment>&); + static void trim(std::vector<Appointment>&, const DateTime& begin, const DateTime& end); }; } // namespace datetime |