diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-03-31 09:41:29 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-05 00:44:12 +0200 |
commit | 0b5b8b3d31eaff2302c2fd3eb11e68be96f1d219 (patch) | |
tree | cd1fb5e45864ac63f855e9ec075c80a14543e9de /include | |
parent | d51a6d284f236232c845d89db475c98d0c11ac43 (diff) | |
download | ayatana-indicator-datetime-0b5b8b3d31eaff2302c2fd3eb11e68be96f1d219.tar.gz ayatana-indicator-datetime-0b5b8b3d31eaff2302c2fd3eb11e68be96f1d219.tar.bz2 ayatana-indicator-datetime-0b5b8b3d31eaff2302c2fd3eb11e68be96f1d219.zip |
Remove constructors from Alarm.
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime/appointment.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/datetime/appointment.h b/include/datetime/appointment.h index 14adb5d..2c225fc 100644 --- a/include/datetime/appointment.h +++ b/include/datetime/appointment.h @@ -42,14 +42,7 @@ struct Alarm std::string text; std::string audio_url; DateTime time; - int type = TEXT; - - Alarm(const std::string &text_, const std::string &audio_url_, const DateTime & time_, int type_ = TEXT) - : text(text_), audio_url(audio_url_), time(time_), type(type_) - {} - - Alarm() - {} + int type : SOUND; bool operator== (const Alarm& that) const; bool has_sound() const; |