diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-12-08 23:09:08 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2014-12-08 23:09:08 +0000 |
commit | b05f411503474231de48ee038d16e2d0e49bed4f (patch) | |
tree | 160077bd77534638e0c5431670d1c6dc97b98dd2 /include/datetime/engine-eds.h | |
parent | 6de98acd45d855789fdd4bfdf45fa826eef22828 (diff) | |
parent | f84d3bdb7006eee351942a31d033ca0d62f3292a (diff) | |
download | ayatana-indicator-datetime-b05f411503474231de48ee038d16e2d0e49bed4f.tar.gz ayatana-indicator-datetime-b05f411503474231de48ee038d16e2d0e49bed4f.tar.bz2 ayatana-indicator-datetime-b05f411503474231de48ee038d16e2d0e49bed4f.zip |
After a one-time Ubuntu alarm's notification is displayed, disable the alarm. Fixes: #1362341
Approved by: Ted Gould, PS Jenkins bot
Diffstat (limited to 'include/datetime/engine-eds.h')
-rw-r--r-- | include/datetime/engine-eds.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/datetime/engine-eds.h b/include/datetime/engine-eds.h index ebee838..7372f71 100644 --- a/include/datetime/engine-eds.h +++ b/include/datetime/engine-eds.h @@ -51,9 +51,10 @@ public: void get_appointments(const DateTime& begin, const DateTime& end, const Timezone& default_timezone, - std::function<void(const std::vector<Appointment>&)> appointment_func); + std::function<void(const std::vector<Appointment>&)> appointment_func) override; + void disable_ubuntu_alarm(const Appointment&) override; - core::Signal<>& changed(); + core::Signal<>& changed() override; private: class Impl; |