event-editor: Add filter by attendee type for details page

Pre-filter attendees based on type before filtering by response.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/671>
This commit is contained in:
mindonwarp
2026-01-21 19:37:54 +00:00
committed by Marge Bot
parent 4fb5c1ebb3
commit f37cd9e7ad
3 changed files with 109 additions and 7 deletions
+16
View File
@@ -98,3 +98,19 @@ typedef enum
GCAL_EVENT_ATTENDEE_ROLE_NONPARTICIPANT,
GCAL_EVENT_ATTENDEE_ROLE_NONE,
} GcalEventAttendeeRole;
/**
* GcalEventAttendeeTypeFilterFlags:
*
* @GCAL_EVENT_ATTENDEE_TYPE_FILTER_NONE: filter disabled (show all)
* @GCAL_EVENT_ATTENDEE_TYPE_FILTER_PERSON: filter INDIVIDUAL | GROUP
* @GCAL_EVENT_ATTENDEE_TYPE_FILTER_RESOURCE: filter RESOURCE | ROOM
*
* glib-mkenums: flags
*/
typedef enum
{
GCAL_EVENT_ATTENDEE_TYPE_FILTER_NONE = 0,
GCAL_EVENT_ATTENDEE_TYPE_FILTER_PERSON = 1 << 0,
GCAL_EVENT_ATTENDEE_TYPE_FILTER_RESOURCE = 1 << 1,
} GcalEventAttendeeTypeFilterFlags;