aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/itip-utils.h')
-rw-r--r--calendar/gui/itip-utils.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/calendar/gui/itip-utils.h b/calendar/gui/itip-utils.h
index a2f825be8b..b51696876f 100644
--- a/calendar/gui/itip-utils.h
+++ b/calendar/gui/itip-utils.h
@@ -6,10 +6,24 @@
#include <ical.h>
#include <string.h>
#include <glib.h>
+#include <cal-util/cal-component.h>
extern gchar *partstat_values[];
extern gchar *role_values[];
icalparameter * get_icalparam_by_type (icalproperty *prop, icalparameter_kind kind);
+typedef enum {
+ CAL_COMPONENT_METHOD_PUBLISH,
+ CAL_COMPONENT_METHOD_REQUEST,
+ CAL_COMPONENT_METHOD_REPLY,
+ CAL_COMPONENT_METHOD_ADD,
+ CAL_COMPONENT_METHOD_CANCEL,
+ CAL_COMPONENT_METHOD_REFRESH,
+ CAL_COMPONENT_METHOD_COUNTER,
+ CAL_COMPONENT_METHOD_DECLINECOUNTER
+} CalComponentItipMethod;
+
+void itip_send_comp (CalComponentItipMethod method, CalComponent *comp);
+
#endif