aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/comp-util.h')
-rw-r--r--calendar/gui/comp-util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/calendar/gui/comp-util.h b/calendar/gui/comp-util.h
index 6ea71853fa..b8c3ea453d 100644
--- a/calendar/gui/comp-util.h
+++ b/calendar/gui/comp-util.h
@@ -22,6 +22,7 @@
#ifndef COMP_UTIL_H
#define COMP_UTIL_H
+#include <gtk/gtkwidget.h>
#include <cal-util/cal-component.h>
#include <cal-client/cal-client.h>
@@ -35,4 +36,14 @@ gboolean cal_comp_util_compare_event_timezones (CalComponent *comp,
CalClient *client,
icaltimezone *zone);
+typedef enum {
+ EMPTY_COMP_REMOVE_LOCALLY,
+ EMPTY_COMP_REMOVED_FROM_SERVER,
+ EMPTY_COMP_DO_NOT_REMOVE
+} ConfirmDeleteEmptyCompResult;
+
+ConfirmDeleteEmptyCompResult cal_comp_confirm_delete_empty_comp (CalComponent *comp,
+ CalClient *client,
+ GtkWidget *widget);
+
#endif