summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--calendar/backends/groupwise/e-cal-backend-groupwise.h4
-rw-r--r--configure.in1
-rw-r--r--src/Makefile.am19
-rw-r--r--src/server.c3
5 files changed, 23 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index e9add80ce..ac76de846 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-11-14 Rodrigo Moya <rodrigo@ximian.com>
+
+ * src/server.c (setup_cals): register the Groupwise calendar backend.
+
+ * src/Makefile.am:
+ * configure.in: added Groupwise calendar backend to build.
+
2003-11-14 Rodney Dawes <dobey@ximian.com>
* acinclude.m4: Add the GTK_DOC_CHECK m4 macro here, as we need it
diff --git a/calendar/backends/groupwise/e-cal-backend-groupwise.h b/calendar/backends/groupwise/e-cal-backend-groupwise.h
index c4ef7fae4..a359da0c3 100644
--- a/calendar/backends/groupwise/e-cal-backend-groupwise.h
+++ b/calendar/backends/groupwise/e-cal-backend-groupwise.h
@@ -31,8 +31,8 @@ G_BEGIN_DECLS
#define E_TYPE_CAL_BACKEND_GROUPWISE (e_cal_backend_groupwise_get_type ())
#define E_CAL_BACKEND_GROUPWISE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CAL_BACKEND_GROUPWISE, ECalBackendGroupwise))
#define E_CAL_BACKEND_GROUPWISE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_CAL_BACKEND_GROUPWISE, ECalBackendGroupwiseClass))
-#define CAL_IS_BACKEND_GROUPWISE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_CAL_BACKEND_GROUPWISE))
-#define CAL_IS_BACKEND_GROUPWISE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_CAL_BACKEND_GROUPWISE))
+#define E_IS_CAL_BACKEND_GROUPWISE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_CAL_BACKEND_GROUPWISE))
+#define E_IS_CAL_BACKEND_GROUPWISE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_CAL_BACKEND_GROUPWISE))
typedef struct _ECalBackendGroupwise ECalBackendGroupwise;
typedef struct _ECalBackendGroupwiseClass ECalBackendGroupwiseClass;
diff --git a/configure.in b/configure.in
index 049dcc9a0..9c4a21d73 100644
--- a/configure.in
+++ b/configure.in
@@ -401,6 +401,7 @@ calendar/libedata-cal/Makefile
calendar/libedata-cal/libedata-cal-1.0.pc
calendar/backends/Makefile
calendar/backends/file/Makefile
+calendar/backends/groupwise/Makefile
calendar/backends/http/Makefile
libedataserver/Makefile
libedataserver/libedataserver-1.0.pc
diff --git a/src/Makefile.am b/src/Makefile.am
index e4f6ea899..03c4d4351 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -49,15 +49,16 @@ else
LDAP_BACKEND_LIB=
endif
-evolution_data_server_LDADD = \
- $(top_builddir)/addressbook/libedata-book/libedata-book.la \
- $(top_builddir)/addressbook/backends/file/libebookbackendfile.la\
- $(top_builddir)/addressbook/backends/vcf/libebookbackendvcf.la \
- $(LDAP_BACKEND_LIB) \
- $(top_builddir)/calendar/libedata-cal/libedata-cal.la \
- $(top_builddir)/calendar/backends/file/libecalbackendfile.la \
- $(top_builddir)/calendar/backends/http/libecalbackendhttp.la \
- $(LDAP_LIBS) \
+evolution_data_server_LDADD = \
+ $(top_builddir)/addressbook/libedata-book/libedata-book.la \
+ $(top_builddir)/addressbook/backends/file/libebookbackendfile.la \
+ $(top_builddir)/addressbook/backends/vcf/libebookbackendvcf.la \
+ $(LDAP_BACKEND_LIB) \
+ $(top_builddir)/calendar/libedata-cal/libedata-cal.la \
+ $(top_builddir)/calendar/backends/file/libecalbackendfile.la \
+ $(top_builddir)/calendar/backends/groupwise/libecalbackendgroupwise.la \
+ $(top_builddir)/calendar/backends/http/libecalbackendhttp.la \
+ $(LDAP_LIBS) \
$(E_DATA_SERVER_LIBS)
install-evolution-data-server:
diff --git a/src/server.c b/src/server.c
index 12a04c62a..bde3d8c01 100644
--- a/src/server.c
+++ b/src/server.c
@@ -52,6 +52,7 @@
#include <libedata-cal/e-data-cal-factory.h>
#include <backends/file/e-cal-backend-file-events.h>
#include <backends/file/e-cal-backend-file-todos.h>
+#include <backends/groupwise/e-cal-backend-groupwise.h>
#include <backends/http/e-cal-backend-http.h>
#include "server-interface-check.h"
@@ -171,6 +172,8 @@ setup_cals (void)
e_data_cal_factory_register_method (e_data_cal_factory, "file", ICAL_VEVENT_COMPONENT, E_TYPE_CAL_BACKEND_FILE_EVENTS);
e_data_cal_factory_register_method (e_data_cal_factory, "file", ICAL_VTODO_COMPONENT, E_TYPE_CAL_BACKEND_FILE_TODOS);
+ e_data_cal_factory_register_method (e_data_cal_factory, "groupwise", ICAL_VEVENT_COMPONENT, E_TYPE_CAL_BACKEND_GROUPWISE);
+ e_data_cal_factory_register_method (e_data_cal_factory, "groupwise", ICAL_VTODO_COMPONENT, E_TYPE_CAL_BACKEND_GROUPWISE);
e_data_cal_factory_register_method (e_data_cal_factory, "webcal", ICAL_VEVENT_COMPONENT, E_TYPE_CAL_BACKEND_HTTP);
if (!e_data_cal_factory_register_storage (e_data_cal_factory, E_DATA_CAL_FACTORY_OAF_ID)) {