4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) version 3.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with the program; if not, see <http://www.gnu.org/licenses/>
18 * Copyright (C) 2011 Red Hat, Inc. (www.redhat.com)
25 #include <libedataserver/libedataserver.h>
29 #define E_TYPE_GDBUS_CAL (e_gdbus_cal_get_type ())
30 #define E_GDBUS_CAL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_GDBUS_CAL, EGdbusCal))
31 #define E_IS_GDBUS_CAL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TYPE_GDBUS_CAL))
32 #define E_GDBUS_CAL_GET_IFACE(o)(G_TYPE_INSTANCE_GET_INTERFACE((o), E_TYPE_GDBUS_CAL, EGdbusCalIface))
34 typedef struct _EGdbusCal EGdbusCal; /* Dummy typedef */
35 typedef struct _EGdbusCalIface EGdbusCalIface;
37 GType e_gdbus_cal_get_type (void) G_GNUC_CONST;
39 /* ---------------------------------------------------------------------- */
41 typedef struct _EGdbusCalProxy EGdbusCalProxy;
42 typedef struct _EGdbusCalProxyClass EGdbusCalProxyClass;
43 typedef struct _EGdbusCalProxyPrivate EGdbusCalProxyPrivate;
45 struct _EGdbusCalProxy
47 GDBusProxy parent_instance;
48 EGdbusCalProxyPrivate *priv;
51 struct _EGdbusCalProxyClass
53 GDBusProxyClass parent_class;
56 #define E_TYPE_GDBUS_CAL_PROXY (e_gdbus_cal_proxy_get_type ())
57 #define E_GDBUS_CAL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_GDBUS_CAL_PROXY, EGdbusCalProxy))
58 #define E_IS_GDBUS_CAL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TYPE_GDBUS_CAL_PROXY))
59 GType e_gdbus_cal_proxy_get_type (void) G_GNUC_CONST;
61 void e_gdbus_cal_proxy_new (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
62 EGdbusCal * e_gdbus_cal_proxy_new_finish (GAsyncResult *result, GError **error);
63 EGdbusCal * e_gdbus_cal_proxy_new_sync (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error);
65 void e_gdbus_cal_proxy_new_for_bus (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
66 EGdbusCal * e_gdbus_cal_proxy_new_for_bus_finish (GAsyncResult *result, GError **error);
67 EGdbusCal * e_gdbus_cal_proxy_new_for_bus_sync (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error);
69 /* ---------------------------------------------------------------------- */
71 typedef struct _EGdbusCalStub EGdbusCalStub;
72 typedef struct _EGdbusCalStubClass EGdbusCalStubClass;
73 typedef struct _EGdbusCalStubPrivate EGdbusCalStubPrivate;
77 GObject parent_instance;
78 EGdbusCalStubPrivate *priv;
81 struct _EGdbusCalStubClass
83 GObjectClass parent_class;
86 #define E_TYPE_GDBUS_CAL_STUB (e_gdbus_cal_stub_get_type ())
87 #define E_GDBUS_CAL_STUB(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_GDBUS_CAL_STUB, EGdbusCalStub))
88 #define E_IS_GDBUS_CAL_STUB(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TYPE_GDBUS_CAL_STUB))
89 GType e_gdbus_cal_stub_get_type (void) G_GNUC_CONST;
91 EGdbusCal *e_gdbus_cal_stub_new (void);
92 GDBusConnection *e_gdbus_cal_stub_get_connection (EGdbusCal *stub);
94 guint e_gdbus_cal_register_object (EGdbusCal *object, GDBusConnection *connection, const gchar *object_path, GError **error);
95 void e_gdbus_cal_drain_notify (EGdbusCal *object);
97 const GDBusInterfaceInfo *e_gdbus_cal_interface_info (void) G_GNUC_CONST;
99 struct _EGdbusCalIface
101 GTypeInterface parent_iface;
103 /* Signal handlers for receiving D-Bus signals: */
104 void (*backend_error) (EGdbusCal *object, const gchar *arg_message);
105 void (*readonly) (EGdbusCal *object, gboolean arg_is_readonly);
106 void (*online) (EGdbusCal *object, gboolean arg_is_online);
107 void (*opened) (EGdbusCal *object, const gchar * const *arg_error);
108 void (*free_busy_data) (EGdbusCal *object, const gchar * const *arg_free_busy);
109 void (*backend_property_changed) (EGdbusCal *object, const gchar * const *arg_name_value);
111 /* Signal handlers for handling D-Bus method calls: */
112 gboolean (*handle_open) (EGdbusCal *object, GDBusMethodInvocation *invocation, gboolean in_only_if_exists);
113 void (*open_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
115 gboolean (*handle_remove) (EGdbusCal *object, GDBusMethodInvocation *invocation);
116 void (*remove_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
118 gboolean (*handle_refresh) (EGdbusCal *object, GDBusMethodInvocation *invocation);
119 void (*refresh_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
121 gboolean (*handle_get_backend_property) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar *in_prop_name);
122 void (*get_backend_property_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error, gchar **out_prop_value);
124 gboolean (*handle_set_backend_property) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar * const *in_prop_name_value);
125 void (*set_backend_property_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
127 gboolean (*handle_get_object) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar * const *in_uid_rid);
128 void (*get_object_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error, gchar **out_object);
130 gboolean (*handle_get_object_list) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar *in_sexp);
131 void (*get_object_list_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error, gchar ***out_objects);
133 gboolean (*handle_get_free_busy) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar * const *in_start_end_userlist);
134 void (*get_free_busy_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
136 gboolean (*handle_create_objects) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar *const *in_calobjs);
137 void (*create_objects_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error, gchar ***out_uids);
139 gboolean (*handle_modify_objects) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar * const *in_mod_calobjs);
140 void (*modify_objects_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
142 gboolean (*handle_remove_objects) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar * const *in_mod_ids);
143 void (*remove_objects_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
145 gboolean (*handle_receive_objects) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar *in_calobj);
146 void (*receive_objects_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
148 gboolean (*handle_send_objects) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar *in_calobj);
149 void (*send_objects_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error, gchar ***out_calobj_users);
151 gboolean (*handle_get_attachment_uris) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar * const *in_uid_rid);
152 void (*get_attachment_uris_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error, gchar ***out_attachments);
154 gboolean (*handle_discard_alarm) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar * const *in_uid_rid_auid);
155 void (*discard_alarm_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
157 gboolean (*handle_get_view) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar *in_sexp);
158 void (*get_view_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error, gchar **out_view_path);
160 gboolean (*handle_get_timezone) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar *in_tzid);
161 void (*get_timezone_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error, gchar **out_tzobject);
163 gboolean (*handle_add_timezone) (EGdbusCal *object, GDBusMethodInvocation *invocation, const gchar *in_tzobject);
164 void (*add_timezone_done) (EGdbusCal *object, guint arg_opid, const GError *arg_error);
166 gboolean (*handle_cancel_operation) (EGdbusCal *object, GDBusMethodInvocation *invocation, guint in_opid);
167 gboolean (*handle_cancel_all) (EGdbusCal *object, GDBusMethodInvocation *invocation);
168 gboolean (*handle_close) (EGdbusCal *object, GDBusMethodInvocation *invocation);
172 void e_gdbus_cal_call_open (GDBusProxy *proxy, gboolean in_only_if_exists, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
173 gboolean e_gdbus_cal_call_open_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
174 gboolean e_gdbus_cal_call_open_sync (GDBusProxy *proxy, gboolean in_only_if_exists, GCancellable *cancellable, GError **error);
176 void e_gdbus_cal_call_remove (GDBusProxy *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
177 gboolean e_gdbus_cal_call_remove_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
178 gboolean e_gdbus_cal_call_remove_sync (GDBusProxy *proxy, GCancellable *cancellable, GError **error);
180 void e_gdbus_cal_call_refresh (GDBusProxy *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
181 gboolean e_gdbus_cal_call_refresh_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
182 gboolean e_gdbus_cal_call_refresh_sync (GDBusProxy *proxy, GCancellable *cancellable, GError **error);
184 void e_gdbus_cal_call_get_backend_property (GDBusProxy *proxy, const gchar *in_prop_name, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
185 gboolean e_gdbus_cal_call_get_backend_property_finish (GDBusProxy *proxy, GAsyncResult *result, gchar **out_prop_value, GError **error);
186 gboolean e_gdbus_cal_call_get_backend_property_sync (GDBusProxy *proxy, const gchar *in_prop_name, gchar **out_prop_value, GCancellable *cancellable, GError **error);
188 gchar ** e_gdbus_cal_encode_set_backend_property (const gchar *in_prop_name, const gchar *in_prop_value);
189 gboolean e_gdbus_cal_decode_set_backend_property (const gchar * const *in_strv, gchar **out_prop_name, gchar **out_prop_value);
190 void e_gdbus_cal_call_set_backend_property (GDBusProxy *proxy, const gchar * const *in_prop_name_value, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
191 gboolean e_gdbus_cal_call_set_backend_property_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
192 gboolean e_gdbus_cal_call_set_backend_property_sync (GDBusProxy *proxy, const gchar * const *in_prop_name_value, GCancellable *cancellable, GError **error);
194 gchar ** e_gdbus_cal_encode_get_object (const gchar *in_uid, const gchar *in_rid);
195 gboolean e_gdbus_cal_decode_get_object (const gchar * const *in_strv, gchar **out_uid, gchar **out_rid);
196 void e_gdbus_cal_call_get_object (GDBusProxy *proxy, const gchar * const *in_uid_rid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
197 gboolean e_gdbus_cal_call_get_object_finish (GDBusProxy *proxy, GAsyncResult *result, gchar **out_object, GError **error);
198 gboolean e_gdbus_cal_call_get_object_sync (GDBusProxy *proxy, const gchar * const *in_uid_rid, gchar **out_object, GCancellable *cancellable, GError **error);
200 void e_gdbus_cal_call_get_object_list (GDBusProxy *proxy, const gchar *in_sexp, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
201 gboolean e_gdbus_cal_call_get_object_list_finish (GDBusProxy *proxy, GAsyncResult *result, gchar ***out_objects, GError **error);
202 gboolean e_gdbus_cal_call_get_object_list_sync (GDBusProxy *proxy, const gchar *in_sexp, gchar ***out_objects, GCancellable *cancellable, GError **error);
204 gchar ** e_gdbus_cal_encode_get_free_busy (guint in_start, guint in_end, const GSList *in_users);
205 gboolean e_gdbus_cal_decode_get_free_busy (const gchar * const *in_strv, guint *out_start, guint *out_end, GSList **out_users);
206 void e_gdbus_cal_call_get_free_busy (GDBusProxy *proxy, const gchar * const *in_start_end_userlist, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
207 gboolean e_gdbus_cal_call_get_free_busy_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
208 gboolean e_gdbus_cal_call_get_free_busy_sync (GDBusProxy *proxy, const gchar * const *in_start_end_userlist, GCancellable *cancellable, GError **error);
210 void e_gdbus_cal_call_create_objects (GDBusProxy *proxy, const gchar * const *in_calobjs, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
211 gboolean e_gdbus_cal_call_create_objects_finish (GDBusProxy *proxy, GAsyncResult *result, gchar ***out_uids, GError **error);
212 gboolean e_gdbus_cal_call_create_objects_sync (GDBusProxy *proxy, const gchar * const *in_calobjs, gchar ***out_uids, GCancellable *cancellable, GError **error);
214 gchar ** e_gdbus_cal_encode_modify_objects (const GSList *in_calobjs, guint in_mod);
215 gboolean e_gdbus_cal_decode_modify_objects (const gchar * const *in_strv, GSList **out_calobjs, guint *out_mod);
216 void e_gdbus_cal_call_modify_objects (GDBusProxy *proxy, const gchar * const *in_mod_calobjs, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
217 gboolean e_gdbus_cal_call_modify_objects_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
218 gboolean e_gdbus_cal_call_modify_objects_sync (GDBusProxy *proxy, const gchar * const *in_mod_calobjs, GCancellable *cancellable, GError **error);
220 gchar ** e_gdbus_cal_encode_remove_objects (const GSList *in_ids, guint in_mod);
221 gboolean e_gdbus_cal_decode_remove_objects (const gchar * const *in_strv, GSList **out_ids, guint *out_mod);
222 void e_gdbus_cal_call_remove_objects (GDBusProxy *proxy, const gchar * const *in_mod_ids, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
223 gboolean e_gdbus_cal_call_remove_objects_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
224 gboolean e_gdbus_cal_call_remove_objects_sync (GDBusProxy *proxy, const gchar * const *in_mod_ids, GCancellable *cancellable, GError **error);
226 void e_gdbus_cal_call_receive_objects (GDBusProxy *proxy, const gchar *in_calobj, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
227 gboolean e_gdbus_cal_call_receive_objects_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
228 gboolean e_gdbus_cal_call_receive_objects_sync (GDBusProxy *proxy, const gchar *in_calobj, GCancellable *cancellable, GError **error);
230 gchar ** e_gdbus_cal_encode_send_objects (const gchar *in_calobj, const GSList *in_users);
231 gboolean e_gdbus_cal_decode_send_objects (const gchar * const *in_strv, gchar **out_calobj, GSList **out_users);
232 void e_gdbus_cal_call_send_objects (GDBusProxy *proxy, const gchar *in_calobj, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
233 gboolean e_gdbus_cal_call_send_objects_finish (GDBusProxy *proxy, GAsyncResult *result, gchar ***out_calobj_users, GError **error);
234 gboolean e_gdbus_cal_call_send_objects_sync (GDBusProxy *proxy, const gchar *in_calobj, gchar ***out_calobj_users, GCancellable *cancellable, GError **error);
236 gchar ** e_gdbus_cal_encode_get_attachment_uris (const gchar *in_uid, const gchar *in_rid);
237 gboolean e_gdbus_cal_decode_get_attachment_uris (const gchar * const *in_strv, gchar **out_uid, gchar **out_rid);
238 void e_gdbus_cal_call_get_attachment_uris (GDBusProxy *proxy, const gchar * const *in_uid_rid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
239 gboolean e_gdbus_cal_call_get_attachment_uris_finish (GDBusProxy *proxy, GAsyncResult *result, gchar ***out_attachments, GError **error);
240 gboolean e_gdbus_cal_call_get_attachment_uris_sync (GDBusProxy *proxy, const gchar * const *in_uid_rid, gchar ***out_attachments, GCancellable *cancellable, GError **error);
242 gchar ** e_gdbus_cal_encode_discard_alarm (const gchar *in_uid, const gchar *in_rid, const gchar *in_auid);
243 gboolean e_gdbus_cal_decode_discard_alarm (const gchar * const *in_strv, gchar **out_uid, gchar **out_rid, gchar **out_auid);
244 void e_gdbus_cal_call_discard_alarm (GDBusProxy *proxy, const gchar * const *in_uid_rid_auid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
245 gboolean e_gdbus_cal_call_discard_alarm_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
246 gboolean e_gdbus_cal_call_discard_alarm_sync (GDBusProxy *proxy, const gchar * const *in_uid_rid_auid, GCancellable *cancellable, GError **error);
248 void e_gdbus_cal_call_get_view (GDBusProxy *proxy, const gchar *in_sexp, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
249 gboolean e_gdbus_cal_call_get_view_finish (GDBusProxy *proxy, GAsyncResult *result, gchar **out_view_path, GError **error);
250 gboolean e_gdbus_cal_call_get_view_sync (GDBusProxy *proxy, const gchar *in_sexp, gchar **out_view_path, GCancellable *cancellable, GError **error);
252 void e_gdbus_cal_call_get_timezone (GDBusProxy *proxy, const gchar *in_tzid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
253 gboolean e_gdbus_cal_call_get_timezone_finish (GDBusProxy *proxy, GAsyncResult *result, gchar **out_tzobject, GError **error);
254 gboolean e_gdbus_cal_call_get_timezone_sync (GDBusProxy *proxy, const gchar *in_tzid, gchar **out_tzobject, GCancellable *cancellable, GError **error);
256 void e_gdbus_cal_call_add_timezone (GDBusProxy *proxy, const gchar *in_tzobject, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
257 gboolean e_gdbus_cal_call_add_timezone_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
258 gboolean e_gdbus_cal_call_add_timezone_sync (GDBusProxy *proxy, const gchar *in_tzobject, GCancellable *cancellable, GError **error);
260 void e_gdbus_cal_call_cancel_operation (GDBusProxy *proxy, guint in_opid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
261 gboolean e_gdbus_cal_call_cancel_operation_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
262 gboolean e_gdbus_cal_call_cancel_operation_sync (GDBusProxy *proxy, guint in_opid, GCancellable *cancellable, GError **error);
264 void e_gdbus_cal_call_cancel_all (GDBusProxy *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
265 gboolean e_gdbus_cal_call_cancel_all_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
266 gboolean e_gdbus_cal_call_cancel_all_sync (GDBusProxy *proxy, GCancellable *cancellable, GError **error);
268 void e_gdbus_cal_call_close (GDBusProxy *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
269 gboolean e_gdbus_cal_call_close_finish (GDBusProxy *proxy, GAsyncResult *result, GError **error);
270 gboolean e_gdbus_cal_call_close_sync (GDBusProxy *proxy, GCancellable *cancellable, GError **error);
272 /* D-Bus Methods Completion Helpers */
273 #define e_gdbus_cal_complete_open e_gdbus_complete_async_method
274 #define e_gdbus_cal_complete_remove e_gdbus_complete_async_method
275 #define e_gdbus_cal_complete_refresh e_gdbus_complete_async_method
276 #define e_gdbus_cal_complete_get_backend_property e_gdbus_complete_async_method
277 #define e_gdbus_cal_complete_set_backend_property e_gdbus_complete_async_method
278 #define e_gdbus_cal_complete_get_object e_gdbus_complete_async_method
279 #define e_gdbus_cal_complete_get_object_list e_gdbus_complete_async_method
280 #define e_gdbus_cal_complete_get_free_busy e_gdbus_complete_async_method
281 #define e_gdbus_cal_complete_create_objects e_gdbus_complete_async_method
282 #define e_gdbus_cal_complete_modify_objects e_gdbus_complete_async_method
283 #define e_gdbus_cal_complete_remove_objects e_gdbus_complete_async_method
284 #define e_gdbus_cal_complete_receive_objects e_gdbus_complete_async_method
285 #define e_gdbus_cal_complete_send_objects e_gdbus_complete_async_method
286 #define e_gdbus_cal_complete_get_attachment_uris e_gdbus_complete_async_method
287 #define e_gdbus_cal_complete_discard_alarm e_gdbus_complete_async_method
288 #define e_gdbus_cal_complete_get_view e_gdbus_complete_async_method
289 #define e_gdbus_cal_complete_get_timezone e_gdbus_complete_async_method
290 #define e_gdbus_cal_complete_add_timezone e_gdbus_complete_async_method
291 #define e_gdbus_cal_complete_cancel_operation e_gdbus_complete_sync_method_void
292 #define e_gdbus_cal_complete_cancel_all e_gdbus_complete_sync_method_void
293 #define e_gdbus_cal_complete_close e_gdbus_complete_sync_method_void
295 void e_gdbus_cal_emit_open_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
296 void e_gdbus_cal_emit_remove_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
297 void e_gdbus_cal_emit_refresh_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
298 void e_gdbus_cal_emit_get_backend_property_done (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar *out_prop_value);
299 void e_gdbus_cal_emit_set_backend_property_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
300 void e_gdbus_cal_emit_get_object_done (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar *out_object);
301 void e_gdbus_cal_emit_get_object_list_done (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar * const *out_objects);
302 void e_gdbus_cal_emit_get_free_busy_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
303 void e_gdbus_cal_emit_get_free_busy_data (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar * const *out_freebusy);
304 void e_gdbus_cal_emit_create_objects_done (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar * const *out_uids);
305 void e_gdbus_cal_emit_modify_objects_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
306 void e_gdbus_cal_emit_remove_objects_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
307 void e_gdbus_cal_emit_receive_objects_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
308 void e_gdbus_cal_emit_send_objects_done (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar * const *out_calobj_users);
309 void e_gdbus_cal_emit_get_attachment_uris_done (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar * const *out_attachments);
310 void e_gdbus_cal_emit_discard_alarm_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
311 void e_gdbus_cal_emit_get_view_done (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar *out_view_path);
312 void e_gdbus_cal_emit_get_timezone_done (EGdbusCal *object, guint arg_opid, const GError *arg_error, const gchar *out_object);
313 void e_gdbus_cal_emit_add_timezone_done (EGdbusCal *object, guint arg_opid, const GError *arg_error);
315 /* D-Bus Signal Emission Helpers */
316 void e_gdbus_cal_emit_backend_error (EGdbusCal *object, const gchar *arg_message);
317 void e_gdbus_cal_emit_readonly (EGdbusCal *object, gboolean arg_is_readonly);
318 void e_gdbus_cal_emit_online (EGdbusCal *object, gint arg_is_online);
319 void e_gdbus_cal_emit_opened (EGdbusCal *object, const gchar * const *arg_error);
320 void e_gdbus_cal_emit_free_busy_data (EGdbusCal *object, const gchar * const *arg_free_busy);
321 void e_gdbus_cal_emit_backend_property_changed (EGdbusCal *object, const gchar * const *arg_name_value);
325 #endif /* E_GDBUS_CAL_H */