From 4cf8b51de139a49efbd346a6f54f0bdd6d744e8a Mon Sep 17 00:00:00 2001 From: Adrien Plazas Date: Tue, 10 May 2022 14:04:05 +0200 Subject: [PATCH] enums: Add the GcalTimestampPolicy enum This will be used to control more freely what timestamp is shown on event widgets. --- src/gcal-enums.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gcal-enums.h b/src/gcal-enums.h index 87971ea2..df71a6e5 100644 --- a/src/gcal-enums.h +++ b/src/gcal-enums.h @@ -55,3 +55,10 @@ typedef enum GCAL_WEEK_DAY_FRIDAY = 1 << 5, GCAL_WEEK_DAY_SATURDAY = 1 << 6 } GcalWeekDay; + +typedef enum +{ + GCAL_TIMESTAMP_POLICY_NONE, + GCAL_TIMESTAMP_POLICY_START, + GCAL_TIMESTAMP_POLICY_END, +} GcalTimestampPolicy;