core: Add a wrapper object for event organizer

Add a wrapper for the ECalComponentOrganizer. An instance of this type
is kept as part of the GcalEvent structure.

The GcalEventOrganizer is just a "proxy" to the ECalComponentAttendee
and its purpose is to unclutter the GcalEvent interface and provide a
bindable base for a UI widget.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/671>
This commit is contained in:
mindonwarp
2026-01-21 19:37:52 +00:00
committed by Marge Bot
parent 4f6e705e8b
commit 884855ee0b
6 changed files with 390 additions and 4 deletions
+5
View File
@@ -20,6 +20,7 @@
#define GCAL_EVENT_H
#include "gcal-calendar.h"
#include "gcal-event-organizer.h"
#include "gcal-range.h"
#include "gcal-recurrence.h"
@@ -133,6 +134,10 @@ gchar* gcal_event_format_date (GcalEvent
gboolean gcal_event_overlaps (GcalEvent *self,
GcalRange *range);
GSList * gcal_event_get_attendees (GcalEvent *self);
GcalEventOrganizer * gcal_event_get_organizer (GcalEvent *self);
G_END_DECLS
#endif /* GCAL_EVENT_H */