[evolution-ews] Skeleton for parsing free-busy responses in EwsConnection (including the needed changes to the make
- From: Or Goshen <ogosh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Skeleton for parsing free-busy responses in EwsConnection (including the needed changes to the make
- Date: Thu, 30 Jun 2011 09:21:23 +0000 (UTC)
commit 0d574cf3c2a8ce295528b053397111d1869ed113
Author: Or Goshen <orx goshen intel com>
Date: Thu Jun 30 12:27:26 2011 +0300
Skeleton for parsing free-busy responses in EwsConnection (including the needed changes to the make file)
src/server/Makefile.am | 2 ++
src/server/e-ews-connection.c | 6 ++++--
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/server/Makefile.am b/src/server/Makefile.am
index bc4f6e1..31f4ffa 100644
--- a/src/server/Makefile.am
+++ b/src/server/Makefile.am
@@ -23,6 +23,7 @@ libeews_1_2_la_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_builddir)/src/server \
$(SOUP_CFLAGS) \
+ $(LIBECAL_CFLAGS) \
$(LIBEDATASERVER_CFLAGS) \
$(DEBUG_CFLAGS)
@@ -45,6 +46,7 @@ libeews_1_2_la_SOURCES = \
libeews_1_2_la_LIBADD = \
$(SOUP_LIBS) \
+ $(LIBECAL_LIBS) \
$(LIBEDATASERVER_LIBS) \
$(SOCKET_LIBS)
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 4a5c7a5..e1bef90 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -30,6 +30,8 @@
#include <errno.h>
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
+#include <libical/icalcomponent.h>
+#include <libical/icalproperty.h>
#include "e-ews-connection.h"
#include <libedataserver/e-flag.h>
#include "e-ews-message.h"
@@ -3694,12 +3696,12 @@ get_free_busy_response_cb (ESoapParameter *param, EwsNode *enode)
{
/*parse the response to create a free_busy data
http://msdn.microsoft.com/en-us/library/aa564001%28v=EXCHG.140%29.aspx*/
- /*icalcomponent *vfb;
+ icalcomponent *vfb;
EwsAsyncData *async_data = g_simple_async_result_get_op_res_gpointer (enode->simple);
vfb = icalcomponent_new_vfreebusy ();
- async_data->items = g_slist_append (async_data->items, vfb);*/
+ async_data->items = g_slist_append (async_data->items, vfb);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]