diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-12-07 20:52:50 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-12-07 20:52:50 -0600 |
commit | f84d3bdb7006eee351942a31d033ca0d62f3292a (patch) | |
tree | 9323a1d16768edce93cde0414451a592299753c3 /include/datetime/engine-mock.h | |
parent | 9f29b40133fc419a7a74379c55d63c105a4c2c16 (diff) | |
download | ayatana-indicator-datetime-f84d3bdb7006eee351942a31d033ca0d62f3292a.tar.gz ayatana-indicator-datetime-f84d3bdb7006eee351942a31d033ca0d62f3292a.tar.bz2 ayatana-indicator-datetime-f84d3bdb7006eee351942a31d033ca0d62f3292a.zip |
disable one-time alarms after their notifications are shown.
Diffstat (limited to 'include/datetime/engine-mock.h')
-rw-r--r-- | include/datetime/engine-mock.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/datetime/engine-mock.h b/include/datetime/engine-mock.h index 4b25120..9fb0442 100644 --- a/include/datetime/engine-mock.h +++ b/include/datetime/engine-mock.h @@ -44,14 +44,17 @@ 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 { appointment_func(m_appointments); } - core::Signal<>& changed() { + core::Signal<>& changed() override { return m_changed; } + void disable_ubuntu_alarm(const Appointment&) override { + } + private: core::Signal<> m_changed; std::vector<Appointment> m_appointments; |