From b73ed1d9ffd6975d94638364b6a7fcd7f29a6c23 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 4 May 2009 16:31:12 +0200 Subject: BUGFIX: 547414 - Publish Free/Busy calendar for configurable time Allow user define time duration for the Free/Busy calendar information in the publish-calendar plugin. --- plugins/publish-calendar/publish-location.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'plugins/publish-calendar/publish-location.h') diff --git a/plugins/publish-calendar/publish-location.h b/plugins/publish-calendar/publish-location.h index f3fbf03d49..ec627d18ce 100644 --- a/plugins/publish-calendar/publish-location.h +++ b/plugins/publish-calendar/publish-location.h @@ -56,6 +56,12 @@ static const int publish_format_type_mask[] = { -1, }; +enum FBDurationType { + FB_DURATION_DAYS, + FB_DURATION_WEEKS, + FB_DURATION_MONTHS +}; + typedef struct _EPublishUri EPublishUri; struct _EPublishUri { gboolean enabled; @@ -65,6 +71,8 @@ struct _EPublishUri { gchar *password; GSList *events; gchar *last_pub_time; + int fb_duration_value; + int fb_duration_type; gint service_type; }; -- cgit