event: add support for alarms

This commit prepares GcalEvent to handle alarms. Basically,
it is now able to load the current alarms of an event, and add
and remove alarms for them.
This commit is contained in:
Georges Basile Stavracas Neto
2016-07-06 03:01:56 -03:00
parent dfdaa3a590
commit 1ddc690810
2 changed files with 218 additions and 0 deletions
+9
View File
@@ -62,6 +62,15 @@ void gcal_event_set_description (GcalEvent
gboolean gcal_event_has_alarms (GcalEvent *self);
GList* gcal_event_get_alarms (GcalEvent *self);
void gcal_event_add_alarm (GcalEvent *self,
guint type,
gboolean has_sound);
void gcal_event_remove_alarm (GcalEvent *self,
guint type);
const gchar* gcal_event_get_location (GcalEvent *self);
void gcal_event_set_location (GcalEvent *self,