diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-03-31 10:55:01 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-05 00:44:12 +0200 |
commit | 6874753bfba638ab819bfa92ad8cd7a878ae7701 (patch) | |
tree | de4e5d496f56811ce4e38f57a74e46d62a641c4a /include | |
parent | 0b5b8b3d31eaff2302c2fd3eb11e68be96f1d219 (diff) | |
download | ayatana-indicator-datetime-6874753bfba638ab819bfa92ad8cd7a878ae7701.tar.gz ayatana-indicator-datetime-6874753bfba638ab819bfa92ad8cd7a878ae7701.tar.bz2 ayatana-indicator-datetime-6874753bfba638ab819bfa92ad8cd7a878ae7701.zip |
Update tests.
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime/appointment.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/datetime/appointment.h b/include/datetime/appointment.h index 2c225fc..ae9e8ff 100644 --- a/include/datetime/appointment.h +++ b/include/datetime/appointment.h @@ -35,21 +35,21 @@ namespace datetime { struct Alarm { enum Type { + None = 0, EMAIL = 0x001, SOUND = 0x010, TEXT = 0x100 }; + int type; std::string text; std::string audio_url; DateTime time; - int type : SOUND; bool operator== (const Alarm& that) const; - bool has_sound() const; - bool has_text() const; + Alarm(); + Alarm(int type_, const std::string &text_, const std::string& audio_url_, const DateTime &time_); }; - /** * \brief An instance of an appointment; e.g. a calendar event or clock-app alarm * |