diff options
Diffstat (limited to 'include/datetime')
-rw-r--r-- | include/datetime/appointment.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/datetime/appointment.h b/include/datetime/appointment.h index 2e406a2..ab89c2f 100644 --- a/include/datetime/appointment.h +++ b/include/datetime/appointment.h @@ -35,12 +35,15 @@ namespace datetime { struct Appointment { public: + enum Type { EVENT, UBUNTU_ALARM }; + Type type = EVENT; + bool is_ubuntu_alarm() const { return type == UBUNTU_ALARM; } + std::string color; std::string summary; std::string url; std::string uid; std::string audio_url; - bool has_alarms = false; DateTime begin; DateTime end; |