aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-03-31 09:41:29 -0300
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commit406aa751ab0a66c909a7ce60345aed42cda8f147 (patch)
treec4ce3272a0ed2f21537c397931b3eb8d3bec86a0 /include
parentc6ce70d2bebc32f8aba0dbcd43a439b316a0f638 (diff)
downloadayatana-indicator-datetime-406aa751ab0a66c909a7ce60345aed42cda8f147.tar.gz
ayatana-indicator-datetime-406aa751ab0a66c909a7ce60345aed42cda8f147.tar.bz2
ayatana-indicator-datetime-406aa751ab0a66c909a7ce60345aed42cda8f147.zip
Remove constructors from Alarm.
Diffstat (limited to 'include')
-rw-r--r--include/datetime/appointment.h9
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;