Implement single-file includes for all E-D-S libraries.
authorMatthew Barnes <mbarnes@redhat.com>
Sun, 3 Jun 2012 13:50:10 +0000 (09:50 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 3 Jun 2012 23:51:10 +0000 (19:51 -0400)
The top-level headers are named after the library:

    #include <libebackend/libebackend.h>
    #include <libebook/libebook.h>
    #include <libecal/libecal.h>
    #include <libedata-book/libedata-book.h>
    #include <libedata-cal/libedata-cal.h>
    #include <libedataserver/libedataserver.h>
    #include <libedataserverui/libedataserverui.h>

Including individual headers will cause a compilation error.

455 files changed:
addressbook/backends/file/Makefile.am
addressbook/backends/file/e-book-backend-file-factory.c
addressbook/backends/file/e-book-backend-file.c
addressbook/backends/file/e-book-backend-file.h
addressbook/backends/google/Makefile.am
addressbook/backends/google/e-book-backend-google-factory.c
addressbook/backends/google/e-book-backend-google.c
addressbook/backends/google/e-book-backend-google.h
addressbook/backends/ldap/Makefile.am
addressbook/backends/ldap/e-book-backend-ldap-factory.c
addressbook/backends/ldap/e-book-backend-ldap.c
addressbook/backends/ldap/e-book-backend-ldap.h
addressbook/backends/ldap/e-source-ldap.c
addressbook/backends/ldap/e-source-ldap.h
addressbook/backends/vcf/Makefile.am
addressbook/backends/vcf/e-book-backend-vcf-factory.c
addressbook/backends/vcf/e-book-backend-vcf.c
addressbook/backends/vcf/e-book-backend-vcf.h
addressbook/backends/vcf/e-source-vcf.c
addressbook/backends/vcf/e-source-vcf.h
addressbook/backends/webdav/Makefile.am
addressbook/backends/webdav/e-book-backend-webdav-factory.c
addressbook/backends/webdav/e-book-backend-webdav.c
addressbook/backends/webdav/e-book-backend-webdav.h
addressbook/libebook/Makefile.am
addressbook/libebook/e-address-western.c
addressbook/libebook/e-address-western.h
addressbook/libebook/e-book-client-view-private.h
addressbook/libebook/e-book-client-view.c
addressbook/libebook/e-book-client-view.h
addressbook/libebook/e-book-client.c
addressbook/libebook/e-book-client.h
addressbook/libebook/e-book-query.c
addressbook/libebook/e-book-query.h
addressbook/libebook/e-book-types.h
addressbook/libebook/e-book-view.c
addressbook/libebook/e-book-view.h
addressbook/libebook/e-book.c
addressbook/libebook/e-book.h
addressbook/libebook/e-contact.h
addressbook/libebook/e-destination.h
addressbook/libebook/e-error.h
addressbook/libebook/e-name-western.h
addressbook/libebook/e-vcard.h
addressbook/libebook/libebook.h [new file with mode: 0644]
addressbook/libedata-book/Makefile.am
addressbook/libedata-book/e-book-backend-cache.c
addressbook/libedata-book/e-book-backend-cache.h
addressbook/libedata-book/e-book-backend-db-cache.c
addressbook/libedata-book/e-book-backend-db-cache.h
addressbook/libedata-book/e-book-backend-factory.h
addressbook/libedata-book/e-book-backend-sexp.c
addressbook/libedata-book/e-book-backend-sexp.h
addressbook/libedata-book/e-book-backend-sqlitedb-test.c
addressbook/libedata-book/e-book-backend-sqlitedb.c
addressbook/libedata-book/e-book-backend-sqlitedb.h
addressbook/libedata-book/e-book-backend-summary.c
addressbook/libedata-book/e-book-backend-summary.h
addressbook/libedata-book/e-book-backend-sync.c
addressbook/libedata-book/e-book-backend-sync.h
addressbook/libedata-book/e-book-backend.c
addressbook/libedata-book/e-book-backend.h
addressbook/libedata-book/e-data-book-factory.c
addressbook/libedata-book/e-data-book-factory.h
addressbook/libedata-book/e-data-book-types.h [deleted file]
addressbook/libedata-book/e-data-book-view.c
addressbook/libedata-book/e-data-book-view.h
addressbook/libedata-book/e-data-book.c
addressbook/libedata-book/e-data-book.h
addressbook/libedata-book/libedata-book.h [new file with mode: 0644]
addressbook/libegdbus/e-gdbus-book-factory.c
addressbook/libegdbus/e-gdbus-book-factory.h
addressbook/libegdbus/e-gdbus-book-view.c
addressbook/libegdbus/e-gdbus-book-view.h
addressbook/libegdbus/e-gdbus-book.c
addressbook/libegdbus/e-gdbus-book.h
calendar/backends/caldav/Makefile.am
calendar/backends/caldav/e-cal-backend-caldav-factory.c
calendar/backends/caldav/e-cal-backend-caldav.c
calendar/backends/caldav/e-cal-backend-caldav.h
calendar/backends/contacts/Makefile.am
calendar/backends/contacts/e-cal-backend-contacts-factory.c
calendar/backends/contacts/e-cal-backend-contacts.c
calendar/backends/contacts/e-cal-backend-contacts.h
calendar/backends/contacts/e-source-contacts.h
calendar/backends/file/Makefile.am
calendar/backends/file/e-cal-backend-file-factory.c
calendar/backends/file/e-cal-backend-file.c
calendar/backends/file/e-cal-backend-file.h
calendar/backends/file/e-source-local.h
calendar/backends/http/Makefile.am
calendar/backends/http/e-cal-backend-http-factory.c
calendar/backends/http/e-cal-backend-http.c
calendar/backends/http/e-cal-backend-http.h
calendar/backends/weather/Makefile.am
calendar/backends/weather/e-cal-backend-weather-factory.c
calendar/backends/weather/e-cal-backend-weather.c
calendar/backends/weather/e-cal-backend-weather.h
calendar/backends/weather/e-source-weather.c
calendar/backends/weather/e-source-weather.h
calendar/backends/weather/e-weather-source-ccf.c
calendar/libecal/Makefile.am
calendar/libecal/e-cal-check-timezones.h
calendar/libecal/e-cal-client-view.h
calendar/libecal/e-cal-client.c
calendar/libecal/e-cal-client.h
calendar/libecal/e-cal-component.c
calendar/libecal/e-cal-component.h
calendar/libecal/e-cal-recur.h
calendar/libecal/e-cal-system-timezone.h
calendar/libecal/e-cal-time-util.h
calendar/libecal/e-cal-types.h
calendar/libecal/e-cal-util.c
calendar/libecal/e-cal-util.h
calendar/libecal/e-cal-view.h
calendar/libecal/e-cal.c
calendar/libecal/e-cal.h
calendar/libecal/libecal.h [new file with mode: 0644]
calendar/libedata-cal/Makefile.am
calendar/libedata-cal/e-cal-backend-cache.c
calendar/libedata-cal/e-cal-backend-cache.h
calendar/libedata-cal/e-cal-backend-factory.h
calendar/libedata-cal/e-cal-backend-file-store.c
calendar/libedata-cal/e-cal-backend-file-store.h
calendar/libedata-cal/e-cal-backend-intervaltree.h
calendar/libedata-cal/e-cal-backend-sexp.c
calendar/libedata-cal/e-cal-backend-sexp.h
calendar/libedata-cal/e-cal-backend-store.c
calendar/libedata-cal/e-cal-backend-store.h
calendar/libedata-cal/e-cal-backend-sync.c
calendar/libedata-cal/e-cal-backend-sync.h
calendar/libedata-cal/e-cal-backend-util.c
calendar/libedata-cal/e-cal-backend-util.h
calendar/libedata-cal/e-cal-backend.c
calendar/libedata-cal/e-cal-backend.h
calendar/libedata-cal/e-data-cal-common.h
calendar/libedata-cal/e-data-cal-factory.c
calendar/libedata-cal/e-data-cal-factory.h
calendar/libedata-cal/e-data-cal-types.h [deleted file]
calendar/libedata-cal/e-data-cal-view.c
calendar/libedata-cal/e-data-cal-view.h
calendar/libedata-cal/e-data-cal.c
calendar/libedata-cal/e-data-cal.h
calendar/libedata-cal/libedata-cal.h [new file with mode: 0644]
calendar/libegdbus/e-gdbus-cal-factory.c
calendar/libegdbus/e-gdbus-cal-factory.h
calendar/libegdbus/e-gdbus-cal-view.c
calendar/libegdbus/e-gdbus-cal-view.h
calendar/libegdbus/e-gdbus-cal.c
calendar/libegdbus/e-gdbus-cal.h
configure.ac
docs/reference/addressbook/libebook/Makefile.am
docs/reference/addressbook/libebook/libebook.types
docs/reference/addressbook/libedata-book/Makefile.am
docs/reference/addressbook/libedata-book/libedata-book.types
docs/reference/calendar/libecal/Makefile.am
docs/reference/calendar/libecal/libecal.types
docs/reference/calendar/libedata-cal/Makefile.am
docs/reference/calendar/libedata-cal/libedata-cal.types
docs/reference/libebackend/Makefile.am
docs/reference/libebackend/libebackend.types
docs/reference/libedataserver/libedataserver.types
docs/reference/libedataserverui/Makefile.am
docs/reference/libedataserverui/libedataserverui.types
libebackend/Makefile.am
libebackend/e-authentication-mediator.c
libebackend/e-authentication-mediator.h
libebackend/e-authentication-session.c
libebackend/e-authentication-session.h
libebackend/e-backend-enums.h
libebackend/e-backend-factory.c
libebackend/e-backend-factory.h
libebackend/e-backend.c
libebackend/e-backend.h
libebackend/e-collection-backend-factory.c
libebackend/e-collection-backend-factory.h
libebackend/e-collection-backend.c
libebackend/e-collection-backend.h
libebackend/e-data-factory.c
libebackend/e-data-factory.h
libebackend/e-db3-utils.h
libebackend/e-dbhash.h
libebackend/e-dbus-server.c
libebackend/e-dbus-server.h
libebackend/e-extensible.c
libebackend/e-extensible.h
libebackend/e-extension.c
libebackend/e-extension.h
libebackend/e-file-cache.c
libebackend/e-file-cache.h
libebackend/e-module.c
libebackend/e-module.h
libebackend/e-offline-listener.h
libebackend/e-server-side-source.c
libebackend/e-server-side-source.h
libebackend/e-source-registry-server.c
libebackend/e-source-registry-server.h
libebackend/e-sqlite3-vfs.c
libebackend/e-sqlite3-vfs.h
libebackend/libebackend.h [new file with mode: 0644]
libedataserver/Makefile.am
libedataserver/e-categories.h
libedataserver/e-client-private.h
libedataserver/e-client.h
libedataserver/e-credentials.h
libedataserver/e-data-server-util.h
libedataserver/e-debug-log.h
libedataserver/e-flag.h
libedataserver/e-gdbus-templates.h
libedataserver/e-iterator.h
libedataserver/e-list-iterator.h
libedataserver/e-list.h
libedataserver/e-memory.h
libedataserver/e-operation-pool.h
libedataserver/e-proxy.h
libedataserver/e-sexp.h
libedataserver/e-source-address-book.c
libedataserver/e-source-address-book.h
libedataserver/e-source-alarms.c
libedataserver/e-source-alarms.h
libedataserver/e-source-authentication.c
libedataserver/e-source-authentication.h
libedataserver/e-source-authenticator.c
libedataserver/e-source-authenticator.h
libedataserver/e-source-autocomplete.c
libedataserver/e-source-autocomplete.h
libedataserver/e-source-backend.c
libedataserver/e-source-backend.h
libedataserver/e-source-calendar.c
libedataserver/e-source-calendar.h
libedataserver/e-source-camel.c
libedataserver/e-source-camel.h
libedataserver/e-source-collection.c
libedataserver/e-source-collection.h
libedataserver/e-source-enums.h
libedataserver/e-source-extension.c
libedataserver/e-source-extension.h
libedataserver/e-source-goa.c
libedataserver/e-source-goa.h
libedataserver/e-source-mail-account.c
libedataserver/e-source-mail-account.h
libedataserver/e-source-mail-composition.c
libedataserver/e-source-mail-composition.h
libedataserver/e-source-mail-identity.c
libedataserver/e-source-mail-identity.h
libedataserver/e-source-mail-signature.c
libedataserver/e-source-mail-signature.h
libedataserver/e-source-mail-submission.c
libedataserver/e-source-mail-submission.h
libedataserver/e-source-mail-transport.c
libedataserver/e-source-mail-transport.h
libedataserver/e-source-mdn.c
libedataserver/e-source-mdn.h
libedataserver/e-source-offline.c
libedataserver/e-source-offline.h
libedataserver/e-source-openpgp.c
libedataserver/e-source-openpgp.h
libedataserver/e-source-refresh.c
libedataserver/e-source-refresh.h
libedataserver/e-source-registry.c
libedataserver/e-source-registry.h
libedataserver/e-source-security.c
libedataserver/e-source-security.h
libedataserver/e-source-selectable.c
libedataserver/e-source-selectable.h
libedataserver/e-source-smime.c
libedataserver/e-source-smime.h
libedataserver/e-source-webdav.c
libedataserver/e-source-webdav.h
libedataserver/e-source.c
libedataserver/e-source.h
libedataserver/e-time-utils.h
libedataserver/e-uid.h
libedataserver/e-url.h
libedataserver/e-xml-hash-utils.h
libedataserver/e-xml-utils.h
libedataserver/libedataserver.h [new file with mode: 0644]
libedataserverui/Makefile.am
libedataserverui/e-book-auth-util.c
libedataserverui/e-book-auth-util.h
libedataserverui/e-categories-dialog.c
libedataserverui/e-categories-dialog.h
libedataserverui/e-categories-editor.c
libedataserverui/e-categories-editor.h
libedataserverui/e-categories-selector.c
libedataserverui/e-categories-selector.h
libedataserverui/e-category-completion.c
libedataserverui/e-category-completion.h
libedataserverui/e-category-editor.c
libedataserverui/e-category-editor.h
libedataserverui/e-cell-renderer-color.h
libedataserverui/e-client-utils.c
libedataserverui/e-client-utils.h
libedataserverui/e-contact-store.c
libedataserverui/e-contact-store.h
libedataserverui/e-destination-store.c
libedataserverui/e-destination-store.h
libedataserverui/e-name-selector-dialog.c
libedataserverui/e-name-selector-dialog.h
libedataserverui/e-name-selector-entry.c
libedataserverui/e-name-selector-entry.h
libedataserverui/e-name-selector-list.c
libedataserverui/e-name-selector-list.h
libedataserverui/e-name-selector-model.h
libedataserverui/e-name-selector.c
libedataserverui/e-name-selector.h
libedataserverui/e-passwords.c
libedataserverui/e-passwords.h
libedataserverui/e-source-combo-box.c
libedataserverui/e-source-combo-box.h
libedataserverui/e-source-selector-dialog.h
libedataserverui/e-source-selector.c
libedataserverui/e-source-selector.h
libedataserverui/e-tree-model-generator.h
libedataserverui/gtk-compat.h [deleted file]
libedataserverui/libedataserverui.h [new file with mode: 0644]
modules/cache-reaper/e-cache-reaper-utils.c
modules/cache-reaper/module-cache-reaper.c
modules/google-backend/module-google-backend.c
modules/online-accounts/goaewsclient.c
modules/online-accounts/module-online-accounts.c
modules/yahoo-backend/module-yahoo-backend.c
services/evolution-addressbook-factory/Makefile.am
services/evolution-addressbook-factory/evolution-addressbook-factory.c
services/evolution-calendar-factory/Makefile.am
services/evolution-calendar-factory/evolution-calendar-factory.c
services/evolution-source-registry/evolution-source-registry-migrate-basedir.c
services/evolution-source-registry/evolution-source-registry-migrate-sources.c
services/evolution-source-registry/evolution-source-registry.c
tests/libebook/Makefile.am
tests/libebook/client/Makefile.am
tests/libebook/client/client-test-utils.c
tests/libebook/client/client-test-utils.h
tests/libebook/client/test-client-add-contact.c
tests/libebook/client/test-client-async.c
tests/libebook/client/test-client-examine.c
tests/libebook/client/test-client-get-contact.c
tests/libebook/client/test-client-get-revision.c
tests/libebook/client/test-client-get-view.c
tests/libebook/client/test-client-modify-contact.c
tests/libebook/client/test-client-nonexistent-id.c
tests/libebook/client/test-client-photo-is-uri.c
tests/libebook/client/test-client-refresh.c
tests/libebook/client/test-client-remove-contact-by-uid.c
tests/libebook/client/test-client-remove-contact.c
tests/libebook/client/test-client-remove-contacts.c
tests/libebook/client/test-client-remove.c
tests/libebook/client/test-client-revision-view.c
tests/libebook/client/test-client-search.c
tests/libebook/client/test-client-self.c
tests/libebook/client/test-client-stress-factory--fifo.c
tests/libebook/client/test-client-stress-factory--serial.c
tests/libebook/client/test-client-stress-factory--single-book.c
tests/libebook/client/test-client-stress-views.c
tests/libebook/client/test-client-suppress-notifications.c
tests/libebook/client/test-client-uid-only-view.c
tests/libebook/client/test-client.c
tests/libebook/ebook-test-utils.c
tests/libebook/ebook-test-utils.h
tests/libebook/test-bulk-methods.c
tests/libebook/test-categories.c
tests/libebook/test-changes.c
tests/libebook/test-date.c
tests/libebook/test-ebook-add-contact.c
tests/libebook/test-ebook-async.c
tests/libebook/test-ebook-commit-contact.c
tests/libebook/test-ebook-get-book-view.c
tests/libebook/test-ebook-get-contact.c
tests/libebook/test-ebook-get-required-fields.c
tests/libebook/test-ebook-get-static-capabilities.c
tests/libebook/test-ebook-get-supported-auth-methods.c
tests/libebook/test-ebook-get-supported-fields.c
tests/libebook/test-ebook-remove-contact-by-id.c
tests/libebook/test-ebook-remove-contact.c
tests/libebook/test-ebook-remove-contacts.c
tests/libebook/test-ebook-remove.c
tests/libebook/test-ebook-stress-factory--fifo.c
tests/libebook/test-ebook-stress-factory--serial.c
tests/libebook/test-ebook-stress-factory--single-book.c
tests/libebook/test-ebook.c
tests/libebook/test-nonexistent-id.c
tests/libebook/test-photo.c
tests/libebook/test-query.c
tests/libebook/test-search.c
tests/libebook/test-self.c
tests/libebook/test-stress-bookviews.c
tests/libebook/test-string.c
tests/libebook/test-undefinedfield.c
tests/libebook/test-untyped-phones.c
tests/libebook/test-vcard-parsing.c
tests/libebook/vcard/Makefile.am
tests/libebook/vcard/dump-vcard.c
tests/libecal/Makefile.am
tests/libecal/client/Makefile.am
tests/libecal/client/client-test-utils.c
tests/libecal/client/client-test-utils.h
tests/libecal/client/test-client-add-timezone.c
tests/libecal/client/test-client-bulk-methods.c
tests/libecal/client/test-client-create-object.c
tests/libecal/client/test-client-examine.c
tests/libecal/client/test-client-get-attachment-uris.c
tests/libecal/client/test-client-get-free-busy.c
tests/libecal/client/test-client-get-object-list.c
tests/libecal/client/test-client-get-revision.c
tests/libecal/client/test-client-get-view.c
tests/libecal/client/test-client-modify-object.c
tests/libecal/client/test-client-open.c
tests/libecal/client/test-client-receive-objects.c
tests/libecal/client/test-client-refresh.c
tests/libecal/client/test-client-remove-object.c
tests/libecal/client/test-client-revision-view.c
tests/libecal/client/test-client-send-objects.c
tests/libecal/client/test-client-stress-factory--fifo.c
tests/libecal/client/test-client-stress-factory--serial.c
tests/libecal/client/test-client-stress-factory--single-cal.c
tests/libecal/client/test-client-stress-views.c
tests/libecal/ecal-test-utils.c
tests/libecal/ecal-test-utils.h
tests/libecal/test-ecal-add-timezone.c
tests/libecal/test-ecal-create-object--2.c
tests/libecal/test-ecal-create-object.c
tests/libecal/test-ecal-get-alarm-email-address.c
tests/libecal/test-ecal-get-cal-address.c
tests/libecal/test-ecal-get-capabilities.c
tests/libecal/test-ecal-get-default-object.c
tests/libecal/test-ecal-get-free-busy.c
tests/libecal/test-ecal-get-ldap-attribute.c
tests/libecal/test-ecal-get-object-list.c
tests/libecal/test-ecal-get-objects-for-uid.c
tests/libecal/test-ecal-get-query.c
tests/libecal/test-ecal-get-timezone.c
tests/libecal/test-ecal-modify-object.c
tests/libecal/test-ecal-open.c
tests/libecal/test-ecal-receive-objects.c
tests/libecal/test-ecal-remove-object.c
tests/libecal/test-ecal-send-objects.c
tests/libecal/test-ecal-set-default-timezone.c
tests/libecal/test-ecal-set-mode.c
tests/libecal/test-ecal-stress-factory--fifo.c
tests/libecal/test-ecal-stress-factory--open-async.c
tests/libecal/test-ecal-stress-factory--serial.c
tests/libecal/test-ecal-stress-factory--single-cal.c
tests/libecal/test-ecal.c
tests/libecal/test-recur.c
tests/libecal/test-search.c
tests/libedata-cal/Makefile.am
tests/libedata-cal/test-cal-backend-sexp.c
tests/libedata-cal/test-intervaltree.c
tests/libedataserver/e-source-test.c
tests/libedataserverui/Makefile.am
tests/libedataserverui/test-category-completion.c
tests/libedataserverui/test-contact-store.c
tests/libedataserverui/test-name-selector.c
tests/libedataserverui/test-source-combo-box.c
tests/libedataserverui/test-source-selector.c

index ebb13f4..c52c7e3 100644 (file)
@@ -8,6 +8,7 @@ libebookbackendfile_la_CPPFLAGS = \
        -I$(top_srcdir)/addressbook                     \
        -I$(top_builddir)/addressbook                   \
        $(DB_CFLAGS)                                    \
+       $(CAMEL_CFLAGS)                                 \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS)                 \
        $(CODE_COVERAGE_CFLAGS)                         \
        $(NULL)
@@ -23,6 +24,7 @@ libebookbackendfile_la_LIBADD =                                               \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(top_builddir)/libebackend/libebackend-1.2.la                  \
        $(DB_LIBS)                                                      \
+       $(CAMEL_LIBS)                                                   \
        $(EVOLUTION_ADDRESSBOOK_LIBS)
 
 libebookbackendfile_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) \
index e67c50f..eadd2c4 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <libedata-book/e-book-backend-factory.h>
 #include "e-book-backend-file.h"
 
 #define FACTORY_NAME "local"
index 042f894..faff8da 100644 (file)
 #include <glib/gstdio.h>
 #include <glib/gi18n-lib.h>
 
-#include "libebackend/e-dbhash.h"
-#include "libebackend/e-db3-utils.h"
-
-#include "libedataserver/e-data-server-util.h"
-#include "libedataserver/e-flag.h"
-
-#include "libebook/e-contact.h"
-
-#include "libedata-book/e-book-backend-sexp.h"
-#include "libedata-book/e-book-backend-sqlitedb.h"
-#include "libedata-book/e-data-book.h"
-#include "libedata-book/e-data-book-view.h"
-
 #include "e-book-backend-file.h"
 
 #define E_BOOK_BACKEND_FILE_GET_PRIVATE(obj) \
index 4c64ddf..0b17244 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef E_BOOK_BACKEND_FILE_H
 #define E_BOOK_BACKEND_FILE_H
 
-#include <libedata-book/e-book-backend-sync.h>
+#include <libedata-book/libedata-book.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_FILE \
index 88c3aac..5c47f72 100644 (file)
@@ -18,6 +18,7 @@ libebookbackendgoogle_la_CPPFLAGS = \
        $(GDATA_CFLAGS) \
        $(GOA_CFLAGS) \
        $(OAUTH_CFLAGS) \
+       $(CAMEL_CFLAGS) \
        $(CODE_COVERAGE_CFLAGS) \
        $(NULL)
 
@@ -36,7 +37,8 @@ libebookbackendgoogle_la_LIBADD = \
        $(SOUP_LIBS) \
        $(GDATA_LIBS) \
        $(GOA_LIBS) \
-       $(OAUTH_LIBS)
+       $(OAUTH_LIBS) \
+       $(CAMEL_LIBS)
 
 libebookbackendgoogle_la_LDFLAGS = \
        -module -avoid-version $(NO_UNDEFINED) \
index 36116ac..9b09a11 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#include <libedata-book/e-book-backend-factory.h>
 #include "e-book-backend-google.h"
 
 #define FACTORY_NAME "google"
index 7480784..10bba92 100644 (file)
 #include <errno.h>
 
 #include <glib/gi18n-lib.h>
-#include <libedataserver/e-proxy.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-authenticator.h>
-#include <libedataserver/e-source-offline.h>
-#include <libedataserver/e-source-refresh.h>
-#include <libedataserver/e-source-security.h>
-#include <libebook/e-contact.h>
-#include <libedata-book/e-data-book.h>
-#include <libedata-book/e-data-book-view.h>
-#include <libedata-book/e-book-backend-sexp.h>
-#include <libedata-book/e-book-backend-cache.h>
 #include <gdata/gdata.h>
 
 #include "e-book-backend-google.h"
index f75d256..860d108 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef E_BOOK_BACKEND_GOOGLE_H
 #define E_BOOK_BACKEND_GOOGLE_H
 
-#include <libedata-book/e-book-backend.h>
+#include <libedata-book/libedata-book.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_GOOGLE \
index 28aab52..5effe35 100644 (file)
@@ -10,6 +10,7 @@ libebookbackendldap_la_CPPFLAGS = \
        $(LDAP_CFLAGS)                                  \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS)                 \
        $(CODE_COVERAGE_CFLAGS)                         \
+       $(CAMEL_CFLAGS)                                 \
        $(NULL)
 
 libebookbackendldap_la_SOURCES =                       \
@@ -25,6 +26,7 @@ libebookbackendldap_la_LIBADD =                                               \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(top_builddir)/libebackend/libebackend-1.2.la                  \
        $(EVOLUTION_ADDRESSBOOK_LIBS)                                   \
+       $(CAMEL_LIBS)                                                   \
        $(LDAP_LIBS)
 
 libebookbackendldap_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) \
index 0620043..411f24f 100644 (file)
@@ -25,7 +25,6 @@
 #include <config.h>
 #endif
 
-#include <libedata-book/e-book-backend-factory.h>
 #include "e-book-backend-ldap.h"
 #include "e-source-ldap.h"
 
index 46fdf18..6085a27 100644 (file)
 #include <sys/time.h>
 
 #include <glib/gi18n-lib.h>
-#include <libedataserver/e-sexp.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-offline.h>
-#include <libebook/e-contact.h>
-
-#include <libedata-book/e-book-backend-sexp.h>
-#include <libedata-book/e-data-book.h>
-#include <libedata-book/e-data-book-view.h>
-#include <libedata-book/e-book-backend-cache.h>
-#include <libedata-book/e-book-backend-summary.h>
+
 #include "e-book-backend-ldap.h"
 #include "e-source-ldap.h"
 
index 2968717..253095f 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef E_BOOK_BACKEND_LDAP_H
 #define E_BOOK_BACKEND_LDAP_H
 
-#include <libedata-book/e-book-backend.h>
+#include <libedata-book/libedata-book.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_LDAP \
index 4e182dc..29b61af 100644 (file)
 
 #include <ldap.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-security.h>
-
 #define E_SOURCE_LDAP_GET_PRIVATE(obj) \
        (G_TYPE_INSTANCE_GET_PRIVATE \
        ((obj), E_TYPE_SOURCE_LDAP, ESourceLDAPPrivate))
index ea9cb9f..1183461 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef E_SOURCE_LDAP_H
 #define E_SOURCE_LDAP_H
 
-#include <libedataserver/e-source-extension.h>
+#include <libedataserver/libedataserver.h>
 
 /* Standard GObject macros */
 #define E_TYPE_SOURCE_LDAP \
index 91dc099..321dcd0 100644 (file)
@@ -9,6 +9,7 @@ libebookbackendvcf_la_CPPFLAGS = \
        -I$(top_builddir)/addressbook                   \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS)                 \
        $(CODE_COVERAGE_CFLAGS)                         \
+       $(CAMEL_CFLAGS)                                 \
        $(NULL)
 
 libebookbackendvcf_la_SOURCES =                        \
@@ -23,7 +24,8 @@ libebookbackendvcf_la_LIBADD =                                                \
        $(top_builddir)/addressbook/libedata-book/libedata-book-1.2.la  \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(top_builddir)/libebackend/libebackend-1.2.la          \
-       $(EVOLUTION_ADDRESSBOOK_LIBS)
+       $(EVOLUTION_ADDRESSBOOK_LIBS) \
+       $(CAMEL_LIBS)
 
 libebookbackendvcf_la_LDFLAGS =                \
        -module -avoid-version $(NO_UNDEFINED) \
index bd1ed2f..e03b8b5 100644 (file)
@@ -25,7 +25,6 @@
 #include <config.h>
 #endif
 
-#include <libedata-book/e-book-backend-factory.h>
 #include "e-book-backend-vcf.h"
 #include "e-source-vcf.h"
 
index 9d76099..f115f9a 100644 (file)
 #include <glib/gstdio.h>
 #include <glib/gi18n-lib.h>
 
-#include "libedataserver/e-data-server-util.h"
-#include "libedataserver/e-flag.h"
-
-#include "libebook/e-contact.h"
-
-#include "libedata-book/e-data-book.h"
-#include "libedata-book/e-data-book-view.h"
-#include "libedata-book/e-book-backend-sexp.h"
-
 #include "e-book-backend-vcf.h"
 #include "e-source-vcf.h"
 
index 6ee104b..af3f699 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef E_BOOK_BACKEND_VCF_H
 #define E_BOOK_BACKEND_VCF_H
 
-#include <libedata-book/e-book-backend-sync.h>
+#include <libedata-book/libedata-book.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_VCF \
index f0b6ed1..973a4ce 100644 (file)
@@ -18,8 +18,6 @@
 
 #include "e-source-vcf.h"
 
-#include <libedataserver/e-data-server-util.h>
-
 #define E_SOURCE_VCF_GET_PRIVATE(obj) \
        (G_TYPE_INSTANCE_GET_PRIVATE \
        ((obj), E_TYPE_SOURCE_VCF, ESourceVCFPrivate))
index d84ad4a..092e4f4 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef E_SOURCE_VCF_H
 #define E_SOURCE_VCF_H
 
-#include <libedataserver/e-source-extension.h>
+#include <libedataserver/libedataserver.h>
 
 /* Standard GObject macros */
 #define E_TYPE_SOURCE_VCF \
index 9a4aee5..4c6d554 100644 (file)
@@ -9,6 +9,7 @@ libebookbackendwebdav_la_CPPFLAGS = \
        -I$(top_builddir)/addressbook                   \
        $(SOUP_CFLAGS)                                  \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS)                 \
+       $(CAMEL_CFLAGS)                                 \
        $(CODE_COVERAGE_CFLAGS)                         \
        $(NULL)
 
@@ -23,7 +24,8 @@ libebookbackendwebdav_la_LIBADD = \
        $(top_builddir)/libedataserver/libedataserver-1.2.la \
        $(top_builddir)/libebackend/libebackend-1.2.la \
        $(SOUP_LIBS) \
-       $(EVOLUTION_ADDRESSBOOK_LIBS)
+       $(EVOLUTION_ADDRESSBOOK_LIBS) \
+       $(CAMEL_LIBS)
 
 libebookbackendwebdav_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) \
        $(CODE_COVERAGE_LDFLAGS) \
index 23c0de2..5fc96c8 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#include <libedata-book/e-book-backend-factory.h>
 #include "e-book-backend-webdav.h"
 
 #define FACTORY_NAME "webdav"
index 1a97d7e..25248b1 100644 (file)
 #include <string.h>
 #include <glib/gi18n-lib.h>
 
-#include <libedataserver/e-url.h>
-#include <libedataserver/e-flag.h>
-#include <libedataserver/e-proxy.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-offline.h>
-#include <libedataserver/e-source-webdav.h>
-#include <libebook/e-contact.h>
-#include <libebook/e-address-western.h>
-
-#include <libedata-book/e-book-backend-sexp.h>
-#include <libedata-book/e-book-backend-summary.h>
-#include <libedata-book/e-data-book.h>
-#include <libedata-book/e-data-book-view.h>
-#include <libedata-book/e-book-backend-cache.h>
 #include "e-book-backend-webdav.h"
 
 #include <libsoup/soup.h>
index 2e84b36..7de41e1 100644 (file)
  *
  * Author: Matthias Braun <matze@braunis.de>
  */
+
 #ifndef E_BOOK_BACKEND_WEBDAV_H
 #define E_BOOK_BACKEND_WEBDAV_H
 
-#include <libedata-book/e-book-backend.h>
+#include <libedata-book/libedata-book.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_WEBDAV \
index 801f8ed..6ad03f3 100644 (file)
@@ -1,5 +1,13 @@
 CLEANFILES=
 
+include $(top_srcdir)/glib-gen.mak
+glib_enum_headers=e-book-types.h
+glib_enum_output=e-book-enumtypes
+glib_enum_define=E_BOOK
+glib_enum_prefix=e_book
+
+ENUM_GENERATED = e-book-enumtypes.h e-book-enumtypes.c
+
 # The marshallers
 MARSHAL_GENERATED = e-book-marshal.c e-book-marshal.h
 @EVO_MARSHAL_RULE@
@@ -9,6 +17,7 @@ lib_LTLIBRARIES = libebook-1.2.la
 
 libebook_1_2_la_CPPFLAGS = \
        $(AM_CPPFLAGS)                                  \
+       -DLIBEBOOK_COMPILATION                          \
        -DLOCALEDIR=\""$(localedir)"\"                  \
        -DG_LOG_DOMAIN=\"libebook\"                     \
        -I$(top_srcdir)                                 \
@@ -24,6 +33,7 @@ libebook_1_2_la_CPPFLAGS = \
        $(NULL)
 
 libebook_1_2_la_SOURCES =                              \
+       $(ENUM_GENERATED)                               \
        $(MARSHAL_GENERATED)                            \
        e-address-western.c                             \
        e-book-client.c                                 \
@@ -55,9 +65,11 @@ libebook_1_2_la_LDFLAGS =                                                    \
 libebookincludedir = $(privincludedir)/libebook
 
 libebookinclude_HEADERS =                              \
+       libebook.h                                      \
        e-address-western.h                             \
        e-book-client.h                                 \
        e-book-client-view.h                            \
+       e-book-enumtypes.h                              \
        e-book-query.h                                  \
        e-book-view.h                                   \
        e-book-types.h                                  \
@@ -103,6 +115,9 @@ EBook_1_2_gir_CFLAGS = $(INCLUDES) \
                       -I$(top_builddir)/addressbook/ \
                       -I$(top_srcdir)/addressbook/libebook \
                       -I$(top_builddir)/addressbook/libebook \
+                      -DLIBEBOOK_COMPILATION \
+                      $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
+                      $(CAMEL_CFLAGS) \
                        $(NULL)
 EBook_1_2_gir_SCANNERFLAGS = --include-uninstalled=$(top_builddir)/libedataserver/EDataServer-1.2.gir
 EBook_1_2_gir_LIBS = \
@@ -120,7 +135,7 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 CLEANFILES += $(dist_gir_DATA) $(typelib_DATA)
 endif
 
-BUILT_SOURCES = $(MARSHAL_GENERATED)
+BUILT_SOURCES = $(ENUM_GENERATED) $(MARSHAL_GENERATED)
 CLEANFILES    += $(BUILT_SOURCES)
 DISTCLEANFILES = $(pkgconfig_DATA)
 
index b711d80..ce57ea4 100644 (file)
@@ -12,8 +12,9 @@
 #include <ctype.h>
 #include <string.h>
 
+#include <libedataserver/libedataserver.h>
+
 #include "e-address-western.h"
-#include "libedataserver/e-data-server-util.h"
 
 /* These are the keywords that will distinguish the start of an extended
  * address. */
index 8370644..aab4c00 100644 (file)
@@ -1,3 +1,7 @@
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef __E_ADDRESS_WESTERN_H__
 #define __E_ADDRESS_WESTERN_H__
 
index 26d8a7f..668da47 100644 (file)
@@ -22,8 +22,7 @@
 #ifndef E_BOOK_CLIENT_VIEW_PRIVATE_H
 #define E_BOOK_CLIENT_VIEW_PRIVATE_H
 
-#include "e-book-client.h"
-#include "e-book-view.h"
+#include <libebook/libebook.h>
 
 struct _EGdbusBookView;
 
index 0c53524..1dc97bd 100644 (file)
 
 #include <glib/gi18n-lib.h>
 
+#include <libedataserver/libedataserver.h>
+
 #include "e-book-client.h"
 #include "e-book-client-view.h"
 #include "e-book-client-view-private.h"
 #include "e-book-marshal.h"
-#include "libedata-book/e-data-book-types.h"
-#include "libedataserver/e-data-server-util.h"
 #include "e-gdbus-book-view.h"
 
 #define E_BOOK_CLIENT_VIEW_GET_PRIVATE(obj) \
index bbf93af..0277efc 100644 (file)
  *
  */
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_CLIENT_VIEW_H
 #define E_BOOK_CLIENT_VIEW_H
 
index 01c4ce3..3400605 100644 (file)
@@ -28,9 +28,8 @@
 
 #include <gconf/gconf-client.h>
 
-#include "libedataserver/e-data-server-util.h"
-#include "libedataserver/e-client-private.h"
-#include "libedataserver/e-source-registry.h"
+#include <libedataserver/libedataserver.h>
+#include <libedataserver/e-client-private.h>
 
 #include "e-book-client.h"
 #include "e-contact.h"
index aaf592c..d0c3b79 100644 (file)
  *
  */
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_CLIENT_H
 #define E_BOOK_CLIENT_H
 
-#include <gio/gio.h>
+#include <libedataserver/libedataserver.h>
 
-#include <libedataserver/e-client.h>
-#include <libedataserver/e-source-registry.h>
 #include <libebook/e-book-client-view.h>
 #include <libebook/e-contact.h>
 
index 7f12879..0a0f273 100644 (file)
@@ -1,13 +1,14 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <config.h>
-
 #include "e-book-query.h"
-#include "libedataserver/e-sexp.h"
+
+#include <config.h>
 
 #include <stdarg.h>
 #include <string.h>
 
+#include <libedataserver/libedataserver.h>
+
 typedef enum {
        E_BOOK_QUERY_TYPE_AND,
        E_BOOK_QUERY_TYPE_OR,
index 12dfcc1..40c0b5c 100644 (file)
@@ -1,4 +1,8 @@
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef __E_BOOK_QUERY_H__
 #define __E_BOOK_QUERY_H__
 
index 99d62ac..f98232c 100644 (file)
@@ -9,6 +9,10 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef __E_BOOK_TYPES_H__
 #define __E_BOOK_TYPES_H__
 
@@ -48,6 +52,34 @@ typedef enum {
        E_BOOK_ERROR_NOT_SUPPORTED
 } EBookStatus;
 
+typedef enum {
+       E_DATA_BOOK_STATUS_SUCCESS,
+       E_DATA_BOOK_STATUS_BUSY,
+       E_DATA_BOOK_STATUS_REPOSITORY_OFFLINE,
+       E_DATA_BOOK_STATUS_PERMISSION_DENIED,
+       E_DATA_BOOK_STATUS_CONTACT_NOT_FOUND,
+       E_DATA_BOOK_STATUS_CONTACTID_ALREADY_EXISTS,
+       E_DATA_BOOK_STATUS_AUTHENTICATION_FAILED,
+       E_DATA_BOOK_STATUS_AUTHENTICATION_REQUIRED,
+       E_DATA_BOOK_STATUS_UNSUPPORTED_FIELD,
+       E_DATA_BOOK_STATUS_UNSUPPORTED_AUTHENTICATION_METHOD,
+       E_DATA_BOOK_STATUS_TLS_NOT_AVAILABLE,
+       E_DATA_BOOK_STATUS_NO_SUCH_BOOK,
+       E_DATA_BOOK_STATUS_BOOK_REMOVED,
+       E_DATA_BOOK_STATUS_OFFLINE_UNAVAILABLE,
+       E_DATA_BOOK_STATUS_SEARCH_SIZE_LIMIT_EXCEEDED,
+       E_DATA_BOOK_STATUS_SEARCH_TIME_LIMIT_EXCEEDED,
+       E_DATA_BOOK_STATUS_INVALID_QUERY,
+       E_DATA_BOOK_STATUS_QUERY_REFUSED,
+       E_DATA_BOOK_STATUS_COULD_NOT_CANCEL,
+       E_DATA_BOOK_STATUS_OTHER_ERROR,
+       E_DATA_BOOK_STATUS_INVALID_SERVER_VERSION,
+       E_DATA_BOOK_STATUS_NO_SPACE,
+       E_DATA_BOOK_STATUS_INVALID_ARG,
+       E_DATA_BOOK_STATUS_NOT_SUPPORTED,
+       E_DATA_BOOK_STATUS_NOT_OPENED
+} EDataBookStatus;
+
 #ifndef E_BOOK_DISABLE_DEPRECATED
 #define E_BOOK_ERROR_CORBA_EXCEPTION E_BOOK_ERROR_DBUS_EXCEPTION
 #endif
index 2d5c0af..f24fc26 100644 (file)
@@ -23,8 +23,8 @@
 #include "e-book.h"
 #include "e-book-view.h"
 #include "e-book-view-private.h"
+#include "e-book-enumtypes.h"
 #include "e-book-marshal.h"
-#include "libedata-book/e-data-book-types.h"
 #include "e-gdbus-book-view.h"
 
 G_DEFINE_TYPE (EBookView, e_book_view, G_TYPE_OBJECT);
index 3c18b0b..cd98cc1 100644 (file)
@@ -8,6 +8,10 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef __E_BOOK_VIEW_H__
 #define __E_BOOK_VIEW_H__
 
index caa16b4..e1d9423 100644 (file)
@@ -39,8 +39,6 @@
 #include <string.h>
 #include <glib/gi18n-lib.h>
 #include <gconf/gconf-client.h>
-#include <libedataserver/e-source-registry.h>
-#include <libedataserver/e-data-server-util.h>
 #include "e-book.h"
 #include "e-error.h"
 #include "e-contact.h"
index 9f13dfb..7782d25 100644 (file)
@@ -8,14 +8,18 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef __E_BOOK_H__
 #define __E_BOOK_H__
 
 /* e-book deprecated since 3.2, use e-book-client instead */
 #ifndef E_BOOK_DISABLE_DEPRECATED
 
-#include <libedataserver/e-list.h>
-#include <libedataserver/e-source-registry.h>
+#include <libedataserver/libedataserver.h>
+
 #include <libebook/e-contact.h>
 #include <libebook/e-book-query.h>
 #include <libebook/e-book-view.h>
index 71c2fe2..bde971c 100644 (file)
@@ -6,6 +6,10 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef __E_CONTACT_H__
 #define __E_CONTACT_H__
 
index 32df37a..197733f 100644 (file)
  * USA.
  */
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef __E_DESTINATION_H__
 #define __E_DESTINATION_H__
 
index 8439a36..16666a0 100644 (file)
@@ -1,3 +1,7 @@
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 /**
  * e_return_error_if_fail:
  *
index fe2dacf..e2515bf 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef __E_NAME_WESTERN_H__
 #define __E_NAME_WESTERN_H__
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #include <glib.h>
 
 G_BEGIN_DECLS
index f3aea87..66e3c8b 100644 (file)
  * Author: Chris Toshok (toshok@ximian.com)
  */
 
+#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
+#error "Only <libebook/libebook.h> should be included directly."
+#endif
+
 #ifndef _EVCARD_H
 #define _EVCARD_H
 
diff --git a/addressbook/libebook/libebook.h b/addressbook/libebook/libebook.h
new file mode 100644 (file)
index 0000000..a52e7f8
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * libebook.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef LIBEBOOK_H
+#define LIBEBOOK_H
+
+#define __LIBEBOOK_H_INSIDE__
+
+#include <libedataserver/libedataserver.h>
+
+#include <libebook/e-address-western.h>
+#include <libebook/e-book-client-view.h>
+#include <libebook/e-book-client.h>
+#include <libebook/e-book-enumtypes.h>
+#include <libebook/e-book-query.h>
+#include <libebook/e-book-types.h>
+#include <libebook/e-book-view.h>
+#include <libebook/e-book.h>
+#include <libebook/e-contact.h>
+#include <libebook/e-destination.h>
+#include <libebook/e-name-western.h>
+#include <libebook/e-vcard.h>
+
+#undef __LIBEBOOK_H_INSIDE__
+
+#endif /* LIBEBOOK_H */
+
index 4b99fe6..0b70f44 100644 (file)
@@ -1,16 +1,9 @@
-include $(top_srcdir)/glib-gen.mak
-glib_enum_headers=e-data-book-types.h
-glib_enum_output=e-data-book-enumtypes
-glib_enum_define=E_DATA_BOOK
-glib_enum_prefix=e_data_book
-
-ENUM_GENERATED = e-data-book-enumtypes.h e-data-book-enumtypes.c
-
 # The library
 lib_LTLIBRARIES = libedata-book-1.2.la
 
 libedata_book_1_2_la_CPPFLAGS = \
        $(AM_CPPFLAGS) \
+       -DLIBEDATA_BOOK_COMPILATION \
        -DG_LOG_DOMAIN=\"libedata-book\" \
        -DBACKENDDIR=\"$(ebook_backenddir)\" \
        -I$(top_srcdir) \
@@ -19,6 +12,7 @@ libedata_book_1_2_la_CPPFLAGS = \
        -I$(top_builddir) \
        -I$(top_builddir)/addressbook \
        $(DB_CFLAGS) \
+       $(CAMEL_CFLAGS) \
        $(SQLITE3_CFLAGS) \
        $(GOA_CFLAGS) \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
@@ -26,7 +20,6 @@ libedata_book_1_2_la_CPPFLAGS = \
        $(NULL)
 
 libedata_book_1_2_la_SOURCES = \
-       $(ENUM_GENERATED) \
        e-book-backend-factory.c \
        e-book-backend-sexp.c \
        e-book-backend-summary.c \
@@ -46,6 +39,7 @@ libedata_book_1_2_la_LIBADD = \
        $(top_builddir)/libedataserver/libedataserver-1.2.la \
        $(top_builddir)/libebackend/libebackend-1.2.la \
        $(DB_LIBS) \
+       $(CAMEL_LIBS) \
        $(SQLITE3_LIBS) \
        $(GOA_LIBS) \
        $(EVOLUTION_ADDRESSBOOK_LIBS)
@@ -58,13 +52,13 @@ libedata_book_1_2_la_LDFLAGS = \
 libedata_bookincludedir = $(privincludedir)/libedata-book
 
 libedata_bookinclude_HEADERS = \
+       libedata-book.h \
        e-book-backend-factory.h \
        e-book-backend-sexp.h \
        e-book-backend-summary.h \
        e-book-backend-sync.h \
        e-book-backend.h \
        e-data-book-factory.h \
-       e-data-book-types.h \
        e-data-book-view.h \
        e-data-book.h \
        e-book-backend-cache.h \
@@ -88,8 +82,6 @@ e_book_backend_sqlitedb_test_LDADD = \
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libedata-book-$(API_VERSION).pc
 
-BUILT_SOURCES = $(ENUM_GENERATED)
-CLEANFILES = $(BUILT_SOURCES)
 DISTCLEANFILES = $(pkgconfig_DATA)
 
 EXTRA_DIST = \
index 31484e0..5e09b43 100644 (file)
@@ -24,7 +24,7 @@
 #endif
 
 #include <string.h>
-#include <libedataserver/e-data-server-util.h>
+
 #include "e-book-backend-cache.h"
 #include "e-book-backend-sexp.h"
 
index a2e82d6..35b3d0f 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_BACKEND_CACHE_H
 #define E_BOOK_BACKEND_CACHE_H
 
-#include "libebackend/e-file-cache.h"
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
+#include <libebackend/libebackend.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_CACHE \
index 7c52cc4..9b9c055 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
-#include <libedataserver/e-data-server-util.h>
 #include "e-book-backend-db-cache.h"
 #include "e-book-backend.h"
 #include "e-book-backend-sexp.h"
 
-void
+static void
 string_to_dbt (const gchar *str,
                DBT *dbt)
 {
index eedb48c..58cf044 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_BACKEND_DB_CACHE_H
 #define E_BOOK_BACKEND_DB_CACHE_H
 
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 #include "db.h"
 
 G_BEGIN_DECLS
 
 EContact * e_book_backend_db_cache_get_contact (DB *db, const gchar *uid);
-void string_to_dbt (const gchar *str, DBT *dbt);
 gchar *e_book_backend_db_cache_get_filename (DB *db);
 void e_book_backend_db_cache_set_filename (DB *db, const gchar *filename);
 gboolean e_book_backend_db_cache_add_contact (DB *db,
index 57042a8..7ae50aa 100644 (file)
  * Author: Chris Toshok <toshok@ximian.com>
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_BACKEND_FACTORY_H
 #define E_BOOK_BACKEND_FACTORY_H
 
-#include <libebackend/e-backend-factory.h>
+#include <libebackend/libebackend.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_FACTORY \
index 4964eb5..b5416ba 100644 (file)
@@ -19,8 +19,7 @@
  */
 
 #include <string.h>
-#include "libedataserver/e-sexp.h"
-#include "libedataserver/e-data-server-util.h"
+
 #include "e-book-backend-sexp.h"
 
 #define E_BOOK_BACKEND_SEXP_GET_PRIVATE(obj) \
index f0a2c38..d511ba0 100644 (file)
  * 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_BACKEND_SEXP_H
 #define E_BOOK_BACKEND_SEXP_H
 
-#include <libebook/e-contact.h>
-#include <libedata-book/e-data-book-types.h>
+#include <libebook/libebook.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_SEXP \
index 7e703bb..1d26528 100644 (file)
@@ -20,9 +20,7 @@
  */
 
 #include <config.h>
-#include <glib.h>
-#include <glib-object.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 #include "e-book-backend-sqlitedb.h"
 
 static GMainLoop *main_loop;
index 0fdc869..7968a31 100644 (file)
 #include <glib/gstdio.h>
 
 #include <sqlite3.h>
+#include <libebackend/libebackend.h>
 
-#include "libedataserver/e-sexp.h"
-#include "libedata-book/e-book-backend-sexp.h"
-#include "libebackend/e-sqlite3-vfs.h"
+#include "e-book-backend-sexp.h"
 #include "e-book-backend-sqlitedb.h"
 
 #define E_BOOK_BACKEND_SQLITEDB_GET_PRIVATE(obj) \
index 77f18be..d46edc3 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_BACKEND_SQLITEDB_H
 #define E_BOOK_BACKEND_SQLITEDB_H
 
-#include <glib.h>
-#include <glib-object.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_SQLITEDB \
index 2553a84..aea33b4 100644 (file)
 
 #include <glib/gstdio.h>
 
-#include "libedataserver/e-sexp.h"
-#include "libedataserver/e-data-server-util.h"
-
-#include "libebook/e-contact.h"
-
 #include "e-book-backend-summary.h"
 
 #define E_BOOK_BACKEND_SUMMARY_GET_PRIVATE(obj) \
index a02d296..c914616 100644 (file)
  * 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_BACKEND_SUMMARY_H
 #define E_BOOK_BACKEND_SUMMARY_H
 
-#include <libedata-book/e-data-book-types.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BOOK_BACKEND_SUMMARY \
index 53d1538..f786d58 100644 (file)
@@ -10,8 +10,9 @@
 #include <config.h>
 #endif
 
+#include <libedataserver/libedataserver.h>
+
 #include "e-book-backend-sync.h"
-#include "libedataserver/e-data-server-util.h"
 
 G_DEFINE_TYPE (EBookBackendSync, e_book_backend_sync, E_TYPE_BOOK_BACKEND)
 
index 770e5d8..3f2d623 100644 (file)
@@ -2,10 +2,13 @@
 /*
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef __E_BOOK_BACKEND_SYNC_H__
 #define __E_BOOK_BACKEND_SYNC_H__
 
-#include <libedata-book/e-data-book-types.h>
 #include <libedata-book/e-book-backend.h>
 
 G_BEGIN_DECLS
@@ -17,6 +20,8 @@ G_BEGIN_DECLS
 #define E_IS_BOOK_BACKEND_SYNC_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), E_TYPE_BOOK_BACKEND_SYNC))
 #define E_BOOK_BACKEND_SYNC_GET_CLASS(k) (G_TYPE_INSTANCE_GET_CLASS ((k), E_TYPE_BOOK_BACKEND_SYNC, EBookBackendSyncClass))
 
+typedef struct _EBookBackendSync EBookBackendSync;
+typedef struct _EBookBackendSyncClass EBookBackendSyncClass;
 typedef struct _EBookBackendSyncPrivate EBookBackendSyncPrivate;
 
 struct _EBookBackendSync {
index 0b751e2..2be447d 100644 (file)
@@ -10,8 +10,6 @@
 
 #include <glib/gi18n-lib.h>
 
-#include <libedataserver/e-data-server-util.h>
-
 #include "e-data-book-view.h"
 #include "e-data-book.h"
 #include "e-book-backend.h"
index 919a0a9..d735ca9 100644 (file)
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef __E_BOOK_BACKEND_H__
 #define __E_BOOK_BACKEND_H__
 
-#include <gio/gio.h>
+#include <libebook/libebook.h>
+#include <libebackend/libebackend.h>
 
-#include <libebook/e-contact.h>
-#include <libebackend/e-backend.h>
-#include <libedata-book/e-data-book-types.h>
 #include <libedata-book/e-data-book.h>
-#include <libedataserver/e-source-registry.h>
+#include <libedata-book/e-data-book-view.h>
 
 G_BEGIN_DECLS
 
@@ -131,6 +133,8 @@ G_BEGIN_DECLS
  **/
 #define BOOK_BACKEND_PROPERTY_REVISION                 "revision"
 
+typedef struct _EBookBackend EBookBackend;
+typedef struct _EBookBackendClass EBookBackendClass;
 typedef struct _EBookBackendPrivate EBookBackendPrivate;
 
 struct _EBookBackend {
index f421cdf..7d8f845 100644 (file)
@@ -31,9 +31,6 @@
 #include <goa/goa.h>
 #endif
 
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-goa.h>
-
 #include "e-book-backend.h"
 #include "e-book-backend-factory.h"
 #include "e-data-book.h"
index 2c4de6a..00142bb 100644 (file)
  * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef E_DATA_BOOK_FACTORY_H
 #define E_DATA_BOOK_FACTORY_H
 
-#include <libebackend/e-data-factory.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebackend/libebackend.h>
 
 /* Standard GObject macros */
 #define E_TYPE_DATA_BOOK_FACTORY \
diff --git a/addressbook/libedata-book/e-data-book-types.h b/addressbook/libedata-book/e-data-book-types.h
deleted file mode 100644 (file)
index 38dfbbd..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- * Copyright (C) 2006 OpenedHand Ltd
- * Copyright (C) 2009 Intel Corporation
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of version 2.1 of the GNU Lesser General Public License as
- * published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- * Author: Chris Toshok <toshok@ximian.com>
- * Author: Ross Burton <ross@linux.intel.com>
- */
-
-#ifndef __E_DATA_BOOK_TYPES_H__
-#define __E_DATA_BOOK_TYPES_H__
-
-#include <glib.h>
-
-G_BEGIN_DECLS
-
-typedef struct _EDataBookView        EDataBookView;
-typedef struct _EDataBookViewClass   EDataBookViewClass;
-
-typedef struct _EBookBackend        EBookBackend;
-typedef struct _EBookBackendClass   EBookBackendClass;
-
-typedef struct _EBookBackendSync        EBookBackendSync;
-typedef struct _EBookBackendSyncClass   EBookBackendSyncClass;
-
-typedef struct _EDataBook        EDataBook;
-typedef struct _EDataBookClass   EDataBookClass;
-
-typedef enum {
-       E_DATA_BOOK_STATUS_SUCCESS,
-       E_DATA_BOOK_STATUS_BUSY,
-       E_DATA_BOOK_STATUS_REPOSITORY_OFFLINE,
-       E_DATA_BOOK_STATUS_PERMISSION_DENIED,
-       E_DATA_BOOK_STATUS_CONTACT_NOT_FOUND,
-       E_DATA_BOOK_STATUS_CONTACTID_ALREADY_EXISTS,
-       E_DATA_BOOK_STATUS_AUTHENTICATION_FAILED,
-       E_DATA_BOOK_STATUS_AUTHENTICATION_REQUIRED,
-       E_DATA_BOOK_STATUS_UNSUPPORTED_FIELD,
-       E_DATA_BOOK_STATUS_UNSUPPORTED_AUTHENTICATION_METHOD,
-       E_DATA_BOOK_STATUS_TLS_NOT_AVAILABLE,
-       E_DATA_BOOK_STATUS_NO_SUCH_BOOK,
-       E_DATA_BOOK_STATUS_BOOK_REMOVED,
-       E_DATA_BOOK_STATUS_OFFLINE_UNAVAILABLE,
-       E_DATA_BOOK_STATUS_SEARCH_SIZE_LIMIT_EXCEEDED,
-       E_DATA_BOOK_STATUS_SEARCH_TIME_LIMIT_EXCEEDED,
-       E_DATA_BOOK_STATUS_INVALID_QUERY,
-       E_DATA_BOOK_STATUS_QUERY_REFUSED,
-       E_DATA_BOOK_STATUS_COULD_NOT_CANCEL,
-       E_DATA_BOOK_STATUS_OTHER_ERROR,
-       E_DATA_BOOK_STATUS_INVALID_SERVER_VERSION,
-       E_DATA_BOOK_STATUS_NO_SPACE,
-       E_DATA_BOOK_STATUS_INVALID_ARG,
-       E_DATA_BOOK_STATUS_NOT_SUPPORTED,
-       E_DATA_BOOK_STATUS_NOT_OPENED
-} EDataBookStatus;
-
-G_END_DECLS
-
-#endif /* __E_DATA_BOOK_TYPES_H__ */
index 900015a..4ce921b 100644 (file)
 #endif
 
 #include <string.h>
-#include <libebook/e-contact.h>
-#include "libedataserver/e-data-server-util.h"
+
 #include "e-data-book-view.h"
 
+#include "e-data-book.h"
+#include "e-book-backend.h"
+
 #include "e-gdbus-book-view.h"
 
 #define E_DATA_BOOK_VIEW_GET_PRIVATE(obj) \
index 7f6b6d1..6d6e449 100644 (file)
  * Author: Ross Burton <ross@linux.intel.com>
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef __E_DATA_BOOK_VIEW_H__
 #define __E_DATA_BOOK_VIEW_H__
 
-#include <gio/gio.h>
-#include <libebook/e-contact.h>
-#include <libebook/e-book-client-view.h>
-#include <libedata-book/e-data-book-types.h>
-#include <libedata-book/e-book-backend.h>
+#include <libebook/libebook.h>
+
 #include <libedata-book/e-book-backend-sexp.h>
 
 G_BEGIN_DECLS
@@ -40,6 +41,11 @@ G_BEGIN_DECLS
 #define E_IS_DATA_BOOK_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TYPE_DATA_BOOK_VIEW))
 #define E_DATA_BOOK_VIEW_GET_CLASS(k) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_TYPE_DATA_BOOK_VIEW, EDataBookView))
 
+struct _EDataBook;
+struct _EBookBackend;
+
+typedef struct _EDataBookView EDataBookView;
+typedef struct _EDataBookViewClass EDataBookViewClass;
 typedef struct _EDataBookViewPrivate EDataBookViewPrivate;
 
 struct _EDataBookView {
@@ -52,12 +58,12 @@ struct _EDataBookViewClass {
 };
 
 GType                  e_data_book_view_get_type               (void);
-EDataBookView *                e_data_book_view_new                    (EDataBook *book, const gchar *card_query, EBookBackendSExp *card_sexp);
+EDataBookView *                e_data_book_view_new                    (struct _EDataBook *book, const gchar *card_query, EBookBackendSExp *card_sexp);
 guint                  e_data_book_view_register_gdbus_object  (EDataBookView *query, GDBusConnection *connection, const gchar *object_path, GError **error);
 
 const gchar *          e_data_book_view_get_card_query         (EDataBookView *book_view);
 EBookBackendSExp *     e_data_book_view_get_card_sexp          (EDataBookView *book_view);
-EBookBackend *         e_data_book_view_get_backend            (EDataBookView *book_view);
+struct _EBookBackend * e_data_book_view_get_backend            (EDataBookView *book_view);
 EBookClientViewFlags    e_data_book_view_get_flags              (EDataBookView *book_view);
 void                   e_data_book_view_notify_update          (EDataBookView *book_view, const EContact *contact);
 
index 54cc379..95a5a6e 100644 (file)
 #include <glib/gi18n.h>
 #include <gio/gio.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-operation-pool.h>
+#include <libebook/libebook.h>
 
-#include "e-data-book-enumtypes.h"
 #include "e-data-book-factory.h"
 #include "e-data-book.h"
 #include "e-data-book-view.h"
+#include "e-book-backend.h"
 #include "e-book-backend-sexp.h"
 
 #include "e-gdbus-book.h"
index 8cf1d98..15845c5 100644 (file)
  * Author: Ross Burton <ross@linux.intel.com>
  */
 
+#if !defined (__LIBEDATA_BOOK_H_INSIDE__) && !defined (LIBEDATA_BOOK_COMPILATION)
+#error "Only <libedata-book/libedata-book.h> should be included directly."
+#endif
+
 #ifndef E_DATA_BOOK_H
 #define E_DATA_BOOK_H
 
-#include <gio/gio.h>
-
-#include <libedataserver/e-source.h>
-
-#include "e-book-backend.h"
-#include "e-data-book-types.h"
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
@@ -39,6 +38,10 @@ G_BEGIN_DECLS
 #define E_IS_DATA_BOOK_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TYPE_DATA_BOOK))
 #define E_DATA_BOOK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), E_TYPE_DATA_BOOK, EDataBookClass))
 
+struct _EBookBackend;
+
+typedef struct _EDataBook EDataBook;
+typedef struct _EDataBookClass EDataBookClass;
 typedef struct _EDataBookPrivate EDataBookPrivate;
 
 struct _EDataBook {
@@ -125,8 +128,9 @@ const gchar *e_data_book_status_to_string (EDataBookStatus status);
        } G_STMT_END
 
 GType          e_data_book_get_type                            (void);
-EDataBook *    e_data_book_new                                 (EBookBackend *backend);
-EBookBackend * e_data_book_get_backend                         (EDataBook *book);
+EDataBook *    e_data_book_new                                 (struct _EBookBackend *backend);
+struct _EBookBackend *
+               e_data_book_get_backend                         (EDataBook *book);
 
 guint          e_data_book_register_gdbus_object               (EDataBook *cal, GDBusConnection *connection, const gchar *object_path, GError **error);
 
diff --git a/addressbook/libedata-book/libedata-book.h b/addressbook/libedata-book/libedata-book.h
new file mode 100644 (file)
index 0000000..ecd52ec
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * libedata-book.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef LIBEDATA_BOOK_H
+#define LIBEDATA_BOOK_H
+
+#define __LIBEDATA_BOOK_H_INSIDE__
+
+#include <libebook/libebook.h>
+#include <libebackend/libebackend.h>
+
+#include <libedata-book/e-book-backend-cache.h>
+#include <libedata-book/e-book-backend-db-cache.h>
+#include <libedata-book/e-book-backend-factory.h>
+#include <libedata-book/e-book-backend-sexp.h>
+#include <libedata-book/e-book-backend-sqlitedb.h>
+#include <libedata-book/e-book-backend-summary.h>
+#include <libedata-book/e-book-backend-sync.h>
+#include <libedata-book/e-book-backend.h>
+#include <libedata-book/e-data-book-factory.h>
+#include <libedata-book/e-data-book-view.h>
+#include <libedata-book/e-data-book.h>
+
+#undef __LIBEDATA_BOOK_H_INSIDE__
+
+#endif /* LIBEDATA_BOOK_H */
+
index d567d0d..fbb0cf0 100644 (file)
@@ -22,9 +22,6 @@
 #include <stdio.h>
 #include <gio/gio.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-gdbus-marshallers.h>
-
 #include "e-gdbus-book-factory.h"
 
 #define GDBUS_BOOK_FACTORY_INTERFACE_NAME "org.gnome.evolution.dataserver.AddressBookFactory"
index 588de6c..43dc84d 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <gio/gio.h>
 
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
index 43d8bba..a78ef99 100644 (file)
@@ -22,9 +22,6 @@
 #include <stdio.h>
 #include <gio/gio.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-gdbus-marshallers.h>
-
 #include "e-gdbus-book-view.h"
 
 #define GDBUS_BOOK_VIEW_INTERFACE_NAME "org.gnome.evolution.dataserver.AddressBookView"
index ea0c06b..ddcb694 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <gio/gio.h>
 
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
index 2c28388..e81e076 100644 (file)
@@ -22,9 +22,6 @@
 #include <stdio.h>
 #include <gio/gio.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-gdbus-marshallers.h>
-
 #include "e-gdbus-book.h"
 
 #define E_GDBUS_BOOK_PROXY_GET_PRIVATE(obj) \
index cc04de3..cf96df7 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <gio/gio.h>
 
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
index 5ecd526..db8f459 100644 (file)
@@ -6,6 +6,7 @@ libecalbackendcaldav_la_CPPFLAGS = \
        -I$(top_srcdir)/calendar \
        -I$(top_builddir)/calendar \
        $(EVOLUTION_CALENDAR_CFLAGS) \
+       $(CAMEL_CFLAGS) \
        $(SOUP_CFLAGS) \
        -DG_LOG_DOMAIN=\"e-cal-backend-caldav\" \
        $(CODE_COVERAGE_CFLAGS) \
@@ -22,6 +23,7 @@ libecalbackendcaldav_la_LIBADD = \
        $(top_builddir)/libedataserver/libedataserver-1.2.la \
        $(top_builddir)/libebackend/libebackend-1.2.la \
        $(EVOLUTION_CALENDAR_LIBS) \
+       $(CAMEL_CFLAGS) \
        $(SOUP_LIBS)
 
 libecalbackendcaldav_la_LDFLAGS = \
index ef6cab4..7b09da8 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <config.h>
 
-#include <libedata-cal/e-cal-backend-factory.h>
 #include "e-cal-backend-caldav.h"
 
 #define FACTORY_NAME "caldav"
index 6341868..91a9c58 100644 (file)
 #include <gconf/gconf-client.h>
 #include <glib/gstdio.h>
 #include <glib/gi18n-lib.h>
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-xml-hash-utils.h>
-#include <libedataserver/e-proxy.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-authenticator.h>
-#include <libedataserver/e-source-offline.h>
-#include <libedataserver/e-source-refresh.h>
-#include <libedataserver/e-source-webdav.h>
-#include <libecal/e-cal-recur.h>
-#include <libecal/e-cal-util.h>
-#include <libecal/e-cal-time-util.h>
-#include <libedata-cal/e-cal-backend-cache.h>
-#include <libedata-cal/e-cal-backend-file-store.h>
-#include <libedata-cal/e-cal-backend-util.h>
-#include <libedata-cal/e-cal-backend-sexp.h>
 
 /* LibXML2 includes */
 #include <libxml/parser.h>
index d9ad8d3..a0cff2e 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef E_CAL_BACKEND_CALDAV_H
 #define E_CAL_BACKEND_CALDAV_H
 
-#include <libedata-cal/e-cal-backend-sync.h>
+#include <libedata-cal/libedata-cal.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CAL_BACKEND_CALDAV \
index 328c269..02acf51 100644 (file)
@@ -10,6 +10,7 @@ libecalbackendcontacts_la_CPPFLAGS = \
        -I$(top_srcdir)/addressbook                     \
        -I$(top_builddir)/addressbook                   \
        $(EVOLUTION_CALENDAR_CFLAGS)                    \
+       $(CAMEL_CFLAGS)                                 \
        $(SOUP_CFLAGS)                                  \
        $(CODE_COVERAGE_CFLAGS)                         \
        $(NULL)
@@ -21,13 +22,14 @@ libecalbackendcontacts_la_SOURCES =         \
        e-source-contacts.c                     \
        e-source-contacts.h
 
-libecalbackendcontacts_la_LIBADD =                                             \
-       $(top_builddir)/calendar/libecal/libecal-1.2.la                         \
-       $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la               \
-       $(top_builddir)/addressbook/libebook/libebook-1.2.la                    \
-       $(top_builddir)/libedataserver/libedataserver-1.2.la                    \
-       $(top_builddir)/libebackend/libebackend-1.2.la                          \
-       $(EVOLUTION_CALENDAR_LIBS)                                              \
+libecalbackendcontacts_la_LIBADD =                                     \
+       $(top_builddir)/calendar/libecal/libecal-1.2.la                 \
+       $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la       \
+       $(top_builddir)/addressbook/libebook/libebook-1.2.la            \
+       $(top_builddir)/libedataserver/libedataserver-1.2.la            \
+       $(top_builddir)/libebackend/libebackend-1.2.la                  \
+       $(EVOLUTION_CALENDAR_LIBS)                                      \
+       $(CAMEL_CFLAGS)                                                 \
        $(SOUP_LIBS)
 
 libecalbackendcontacts_la_LDFLAGS =    \
index 2c22740..5a66b2a 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <config.h>
 
-#include <libedata-cal/e-cal-backend-factory.h>
 #include "e-cal-backend-contacts.h"
 #include "e-source-contacts.h"
 
index d1ae3c4..62077f5 100644 (file)
 #include <gconf/gconf-client.h>
 #include <libsoup/soup.h>
 
-#include <libedataserver/e-xml-hash-utils.h>
-#include <libedataserver/e-source-registry.h>
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-flag.h>
-#include <libecal/e-cal-recur.h>
-#include <libecal/e-cal-util.h>
-#include <libedata-cal/e-cal-backend-util.h>
-#include <libedata-cal/e-cal-backend-sexp.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 #include "e-source-contacts.h"
 
index 38ed65d..a7eee19 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef E_CAL_BACKEND_CONTACTS_H
 #define E_CAL_BACKEND_CONTACTS_H
 
-#include <libedata-cal/e-cal-backend-sync.h>
+#include <libedata-cal/libedata-cal.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CAL_BACKEND_CONTACTS \
index 95d9b83..d18fd92 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef E_SOURCE_CONTACTS_H
 #define E_SOURCE_CONTACTS_H
 
-#include <libedataserver/e-source-extension.h>
+#include <libedataserver/libedataserver.h>
 
 /* Standard GObject macros */
 #define E_TYPE_SOURCE_CONTACTS \
index 9080f14..e38ee0b 100644 (file)
@@ -8,6 +8,7 @@ libecalbackendfile_la_CPPFLAGS = \
        -I$(top_srcdir)/calendar                        \
        -I$(top_builddir)/calendar                      \
        $(EVOLUTION_CALENDAR_CFLAGS)                    \
+       $(CAMEL_CFLAGS)                                 \
        $(CODE_COVERAGE_CFLAGS)                         \
        $(NULL)
 
@@ -31,7 +32,8 @@ libecalbackendfile_la_LIBADD =                                                \
        $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la       \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(top_builddir)/libebackend/libebackend-1.2.la                  \
-       $(EVOLUTION_CALENDAR_LIBS)
+       $(EVOLUTION_CALENDAR_LIBS)                                      \
+       $(CAMEL_LIBS)
 
 libecalbackendfile_la_LDFLAGS =                \
        -module -avoid-version $(NO_UNDEFINED) \
@@ -55,6 +57,7 @@ test_interval_searches_CPPFLAGS = \
        -I$(top_srcdir)                 \
        -I$(top_srcdir)/calendar        \
        $(EVOLUTION_CALENDAR_CFLAGS)    \
+       $(CAMEL_CFLAGS)                 \
        -DTEST_QUERY_RESULT=1
 
 -include $(top_srcdir)/git.mk
index d62f2a5..9b5ed8c 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <config.h>
 
-#include <libedata-cal/e-cal-backend-factory.h>
 #include "e-cal-backend-file-events.h"
 #include "e-cal-backend-file-journal.h"
 #include "e-cal-backend-file-todos.h"
index e31a09d..5b08cf4 100644 (file)
 #include <fcntl.h>
 #include <glib/gstdio.h>
 #include <glib/gi18n-lib.h>
-#include <gio/gio.h>
-#include "libedataserver/e-data-server-util.h"
-#include "libedataserver/e-xml-hash-utils.h"
-#include "libedataserver/e-debug-log.h"
-#include <libecal/e-cal-recur.h>
-#include <libecal/e-cal-time-util.h>
-#include <libecal/e-cal-util.h>
-#include <libecal/e-cal-check-timezones.h>
-#include <libedata-cal/e-cal-backend-util.h>
-#include <libedata-cal/e-cal-backend-sexp.h>
-#include <libedata-cal/e-cal-backend-intervaltree.h>
+
 #include "e-cal-backend-file-events.h"
 #include "e-source-local.h"
 
index be34eb0..b225a09 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef E_CAL_BACKEND_FILE_H
 #define E_CAL_BACKEND_FILE_H
 
-#include <libedata-cal/e-cal-backend-sync.h>
+#include <libedata-cal/libedata-cal.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CAL_BACKEND_FILE \
index 7eed749..3d534f8 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef E_SOURCE_LOCAL_H
 #define E_SOURCE_LOCAL_H
 
-#include <libedataserver/e-source-extension.h>
+#include <libedataserver/libedataserver.h>
 
 /* Standard GObject macros */
 #define E_TYPE_SOURCE_LOCAL \
index 2d331df..55404db 100644 (file)
@@ -8,6 +8,7 @@ libecalbackendhttp_la_CPPFLAGS = \
        -I$(top_srcdir)/calendar                        \
        -I$(top_builddir)/calendar                      \
        $(EVOLUTION_CALENDAR_CFLAGS)                    \
+       $(CAMEL_CFLAGS)                                 \
        $(SOUP_CFLAGS)                                  \
        $(CODE_COVERAGE_CFLAGS)                         \
        $(NULL)
@@ -23,6 +24,7 @@ libecalbackendhttp_la_LIBADD =                                                \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(top_builddir)/libebackend/libebackend-1.2.la                  \
        $(EVOLUTION_CALENDAR_LIBS)                                      \
+       $(CAMEL_LIBS)                                                   \
        $(SOUP_LIBS)
 
 libecalbackendhttp_la_LDFLAGS =                \
index 5cd1108..1166e79 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <config.h>
 
-#include <libedata-cal/e-cal-backend-factory.h>
 #include "e-cal-backend-http.h"
 
 #define FACTORY_NAME "webcal"
index 0b0ada1..97f05a9 100644 (file)
 #include <unistd.h>
 #include <gconf/gconf-client.h>
 #include <glib/gi18n-lib.h>
-#include "libedataserver/e-xml-hash-utils.h"
-#include "libedataserver/e-proxy.h"
-#include "libedataserver/e-source-authentication.h"
-#include "libedataserver/e-source-authenticator.h"
-#include "libedataserver/e-source-refresh.h"
-#include "libedataserver/e-source-security.h"
-#include "libedataserver/e-source-webdav.h"
-#include <libecal/e-cal-recur.h>
-#include <libecal/e-cal-util.h>
-#include <libecal/e-cal-time-util.h>
-#include <libedata-cal/e-cal-backend-cache.h>
-#include <libedata-cal/e-cal-backend-store.h>
-#include <libedata-cal/e-cal-backend-file-store.h>
-#include <libedata-cal/e-cal-backend-util.h>
-#include <libedata-cal/e-cal-backend-sexp.h>
+
 #include <libsoup/soup.h>
 #include "e-cal-backend-http.h"
 
index a28eb73..d6292f9 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef E_CAL_BACKEND_HTTP_H
 #define E_CAL_BACKEND_HTTP_H
 
-#include <libedata-cal/e-cal-backend-sync.h>
+#include <libedata-cal/libedata-cal.h>
 
 #define E_TYPE_CAL_BACKEND_HTTP \
        (e_cal_backend_http_get_type ())
index 8f74137..ed41cf2 100644 (file)
@@ -12,6 +12,7 @@ libecalbackendweather_la_CPPFLAGS = \
        -DE_DATA_SERVER_PREFIX=\"$(prefix)\"            \
        -DWEATHER_DATADIR=\""$(weatherdatadir)"\"       \
        $(EVOLUTION_CALENDAR_CFLAGS)                    \
+       $(CAMEL_CFLAGS)                                 \
        $(SOUP_CFLAGS)                                  \
        $(LIBGWEATHER_CFLAGS)                           \
        $(CODE_COVERAGE_CFLAGS)                         \
@@ -28,13 +29,14 @@ libecalbackendweather_la_SOURCES =  \
        e-weather-source-ccf.c          \
        e-weather-source-ccf.h
 
-libecalbackendweather_la_LIBADD =                                              \
-       $(top_builddir)/calendar/libecal/libecal-1.2.la                         \
-       $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la               \
-       $(top_builddir)/libedataserver/libedataserver-1.2.la                    \
-       $(top_builddir)/libebackend/libebackend-1.2.la                          \
-       $(EVOLUTION_CALENDAR_LIBS)                                              \
-       $(SOUP_LIBS)                                                            \
+libecalbackendweather_la_LIBADD =                                      \
+       $(top_builddir)/calendar/libecal/libecal-1.2.la                 \
+       $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la       \
+       $(top_builddir)/libedataserver/libedataserver-1.2.la            \
+       $(top_builddir)/libebackend/libebackend-1.2.la                  \
+       $(EVOLUTION_CALENDAR_LIBS)                                      \
+       $(CAMEL_LIBS)                                                   \
+       $(SOUP_LIBS)                                                    \
        $(LIBGWEATHER_LIBS)
 
 libecalbackendweather_la_LDFLAGS =             \
index fd81ca9..732c03d 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <libedata-cal/e-cal-backend-factory.h>
 #include "e-cal-backend-weather.h"
 #include "e-source-weather.h"
 
index aac8328..62357ae 100644 (file)
  */
 
 #include <config.h>
-#include <libedata-cal/e-cal-backend-cache.h>
-#include <libedata-cal/e-cal-backend-file-store.h>
-#include <libedata-cal/e-cal-backend-util.h>
-#include <libedata-cal/e-cal-backend-sexp.h>
-#include <libedataserver/e-source-refresh.h>
 #include <glib/gi18n-lib.h>
 #include <string.h>
+
 #include "e-cal-backend-weather.h"
 #include "e-source-weather.h"
 #include "e-weather-source.h"
index 8974116..4d138e0 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef E_CAL_BACKEND_WEATHER_H
 #define E_CAL_BACKEND_WEATHER_H
 
-#include <libedata-cal/e-cal-backend-sync.h>
+#include <libedata-cal/libedata-cal.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CAL_BACKEND_WEATHER \
index 0f7e581..e00c799 100644 (file)
@@ -18,8 +18,6 @@
 
 #include "e-source-weather.h"
 
-#include <libedataserver/e-data-server-util.h>
-
 #define E_SOURCE_WEATHER_GET_PRIVATE(obj) \
        (G_TYPE_INSTANCE_GET_PRIVATE \
        ((obj), E_TYPE_SOURCE_WEATHER, ESourceWeatherPrivate))
index 85ad991..fd191cf 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef E_SOURCE_WEATHER_H
 #define E_SOURCE_WEATHER_H
 
-#include <libedataserver/e-source-extension.h>
+#include <libedataserver/libedataserver.h>
 
 /* Standard GObject macros */
 #define E_TYPE_SOURCE_WEATHER \
index 18f6b5f..2bb76a5 100644 (file)
@@ -37,8 +37,6 @@
 
 #ifdef G_OS_WIN32
 
-#include "libedataserver/e-data-server-util.h"
-
 #ifdef localtime_r
 #undef localtime_r
 #endif
index 68e6e43..857de88 100644 (file)
@@ -1,3 +1,11 @@
+include $(top_srcdir)/glib-gen.mak
+glib_enum_headers=e-cal-types.h
+glib_enum_output=e-cal-enumtypes
+glib_enum_define=E_CAL
+glib_enum_prefix=e_cal
+
+ENUM_GENERATED = e-cal-enumtypes.h e-cal-enumtypes.c
+
 # The marshallers
 MARSHAL_GENERATED = e-cal-marshal.c e-cal-marshal.h
 @EVO_MARSHAL_RULE@
@@ -16,13 +24,16 @@ libecal_INCLUDES = \
 libecal_1_2_la_CPPFLAGS =                      \
        $(AM_CPPFLAGS)                          \
        $(libecal_INCLUDES)                     \
+       -DLIBECAL_COMPILATION                   \
        -DG_LOG_DOMAIN=\"libecal\"              \
        $(LIBICAL_CFLAGS)                       \
        $(EVOLUTION_CALENDAR_CFLAGS)            \
+       $(CAMEL_CFLAGS)                         \
        $(CODE_COVERAGE_CFLAGS)                 \
        $(NULL)
 
 libecal_1_2_la_SOURCES =                       \
+       $(ENUM_GENERATED)                       \
        $(MARSHAL_GENERATED)                    \
        e-cal.c                                 \
        e-cal-client.c                          \
@@ -42,7 +53,8 @@ libecal_1_2_la_LIBADD =                                       \
        $(top_builddir)/libedataserver/libedataserver-1.2.la    \
        $(top_builddir)/calendar/libegdbus/libegdbus-cal.la     \
        $(LIBICAL_LIBS)                                         \
-       $(EVOLUTION_CALENDAR_LIBS)
+       $(EVOLUTION_CALENDAR_LIBS)                              \
+       $(CAMEL_LIBS)
 
 libecal_1_2_la_LDFLAGS =                                       \
        -version-info $(LIBECAL_CURRENT):$(LIBECAL_REVISION):$(LIBECAL_AGE) $(NO_UNDEFINED) \
@@ -52,10 +64,12 @@ libecal_1_2_la_LDFLAGS =                                    \
 libecalincludedir = $(privincludedir)/libecal
 
 libecalinclude_HEADERS =       \
+       libecal.h               \
        e-cal.h                 \
        e-cal-client.h          \
        e-cal-client-view.h     \
        e-cal-component.h       \
+       e-cal-enumtypes.h       \
        e-cal-recur.h           \
        e-cal-time-util.h       \
         e-cal-check-timezones.h \
@@ -70,14 +84,14 @@ libecalinclude_HEADERS =    \
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libecal-$(API_VERSION).pc
 
-BUILT_SOURCES = $(MARSHAL_GENERATED)
+BUILT_SOURCES = $(ENUM_GENERATED) $(MARSHAL_GENERATED)
 CLEANFILES = $(BUILT_SOURCES)
 DISTCLEANFILES = $(pkgconfig_DATA)
 
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(top_builddir)/libedataserver --identifier-prefix E --pkg-export libecal-1.2 \
-       --c-include="libecal/e-cal.h"
+       --c-include="libecal/libecal.h"
 INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/libedataserver
 
 if HAVE_INTROSPECTION
@@ -87,7 +101,7 @@ introspection_sources = \
 
 ECalendar-1.2.gir: libecal-1.2.la
 ECalendar_1_2_gir_INCLUDES = GObject-2.0 EDataServer-1.2 GLib-2.0
-ECalendar_1_2_gir_CFLAGS = $(libecal_INCLUDES) $(LIBICAL_CFLAGS) $(EVOLUTION_CALENDAR_CFLAGS)
+ECalendar_1_2_gir_CFLAGS = $(libecal_INCLUDES) -DLIBECAL_COMPILATION $(LIBICAL_CFLAGS) $(EVOLUTION_CALENDAR_CFLAGS)
 ECalendar_1_2_gir_LIBS = libecal-1.2.la $(top_builddir)/calendar/libegdbus/libegdbus-cal.la $(top_builddir)/libedataserver/libedataserver-1.2.la $(LIBICAL_LIBS)
 ECalendar_1_2_gir_FILES = $(introspection_sources)
 INTROSPECTION_GIRS += ECalendar-1.2.gir
index 5f7dead..aa5ab78 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_CHECK_TIMEZONES_H
 #define E_CAL_CHECK_TIMEZONES_H
 
index 05f4e3c..8851ac4 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_CLIENT_VIEW_H
 #define E_CAL_CLIENT_VIEW_H
 
index a59b432..e1e37bf 100644 (file)
 #include <glib/gi18n-lib.h>
 #include <gio/gio.h>
 
-#include "libedataserver/e-data-server-util.h"
-#include "libedataserver/e-client-private.h"
-
-#include "libedata-cal/e-data-cal-types.h"
+#include <libedataserver/e-client-private.h>
 
 #include "e-cal-client.h"
 #include "e-cal-client-view-private.h"
 #include "e-cal-component.h"
 #include "e-cal-check-timezones.h"
 #include "e-cal-time-util.h"
+#include "e-cal-types.h"
 
 #include "e-gdbus-cal.h"
 #include "e-gdbus-cal-factory.h"
index 4349e11..be175d1 100644 (file)
  *
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_CLIENT_H
 #define E_CAL_CLIENT_H
 
-#include <gio/gio.h>
+#include <libedataserver/libedataserver.h>
 
-#include <libedataserver/e-client.h>
 #include <libecal/e-cal-client-view.h>
 #include <libecal/e-cal-recur.h>
 #include <libecal/e-cal-util.h>
index 6a79fa7..0e0b8d1 100644 (file)
 #include <unistd.h>
 #include <glib/gi18n-lib.h>
 #include <glib/gstdio.h>
+
+#include <libedataserver/libedataserver.h>
+
 #include "e-cal-component.h"
 #include "e-cal-time-util.h"
-#include "libedataserver/e-data-server-util.h"
 
 #ifdef G_OS_WIN32
 #define getgid() 0
index 4a31818..e004bf7 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_COMPONENT_H
 #define E_CAL_COMPONENT_H
 
index 2286146..d487fe8 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_RECUR_H
 #define E_CAL_RECUR_H
 
index 73b0772..e644d7f 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_SYSTEM_TIMEZONE_H
 #define E_CAL_SYSTEM_TIMEZONE_H
 
index fb41fce..7af39dd 100644 (file)
@@ -8,6 +8,10 @@
  *          Damon Chaplin <damon@ximian.com>
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef TIMEUTIL_H
 #define TIMEUTIL_H
 
index bd9be80..8f554d5 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_TYPES_H
 #define E_CAL_TYPES_H
 
@@ -73,6 +77,56 @@ typedef enum {
 #define E_CALENDAR_STATUS_CORBA_EXCEPTION E_CALENDAR_STATUS_DBUS_EXCEPTION
 #endif
 
+typedef enum {
+       Success,
+       Busy,
+       RepositoryOffline,
+       PermissionDenied,
+       InvalidRange,
+       ObjectNotFound,
+       InvalidObject,
+       ObjectIdAlreadyExists,
+       AuthenticationFailed,
+       AuthenticationRequired,
+       UnsupportedField,
+       UnsupportedMethod,
+       UnsupportedAuthenticationMethod,
+       TLSNotAvailable,
+       NoSuchCal,
+       UnknownUser,
+       OfflineUnavailable,
+
+       /* These can be returned for successful searches, but
+               indicate the result set was truncated */
+       SearchSizeLimitExceeded,
+       SearchTimeLimitExceeded,
+
+       InvalidQuery,
+       QueryRefused,
+
+       CouldNotCancel,
+
+       OtherError,
+       InvalidServerVersion,
+       InvalidArg,
+       NotSupported,
+       NotOpened
+} EDataCalCallStatus;
+
+typedef enum {
+       Event = 1 << 0,
+       Todo = 1 << 1,
+       Journal = 1 << 2,
+       AnyType = 0x07
+} EDataCalObjType;
+
+typedef enum {
+       This = 1 << 0,
+       ThisAndPrior = 1 << 1,
+       ThisAndFuture = 1 << 2,
+       All = 0x07
+} EDataCalObjModType;
+
 G_END_DECLS
 
 #endif
index 88bbb47..8ccec1b 100644 (file)
@@ -23,7 +23,9 @@
 #include <string.h>
 #include <glib/gstdio.h>
 #include <glib/gi18n-lib.h>
-#include "libedataserver/e-data-server-util.h"
+
+#include <libedataserver/libedataserver.h>
+
 #include "e-cal-util.h"
 #include "e-cal-system-timezone.h"
 
index 966aeb5..9c1a61a 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_UTIL_H
 #define E_CAL_UTIL_H
 
index a090a1c..be69c7e 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_VIEW_H
 #define E_CAL_VIEW_H
 
index 11b75ad..3c82039 100644 (file)
 #include <glib/gi18n-lib.h>
 
 #include <libical/ical.h>
-#include <libedataserver/e-url.h>
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-source-calendar.h>
-#include <libedataserver/e-source-registry.h>
-
-#include "libedata-cal/e-data-cal-types.h"
 
 #include "e-cal-check-timezones.h"
 #include "e-cal-marshal.h"
index f2b6150..a08ae70 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
+#error "Only <libecal/libecal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_H
 #define E_CAL_H
 
 #ifndef E_CAL_DISABLE_DEPRECATED
 
-#include <libedataserver/e-source.h>
+#include <libedataserver/libedataserver.h>
+
 #include <libecal/e-cal-recur.h>
 #include <libecal/e-cal-util.h>
 #include <libecal/e-cal-view.h>
diff --git a/calendar/libecal/libecal.h b/calendar/libecal/libecal.h
new file mode 100644 (file)
index 0000000..cb7ab65
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * libecal.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef LIBECAL_H
+#define LIBECAL_H
+
+#define __LIBECAL_H_INSIDE__
+
+#include <libedataserver/libedataserver.h>
+
+#include <libecal/e-cal-check-timezones.h>
+#include <libecal/e-cal-client-view.h>
+#include <libecal/e-cal-client.h>
+#include <libecal/e-cal-component.h>
+#include <libecal/e-cal-enumtypes.h>
+#include <libecal/e-cal-recur.h>
+#include <libecal/e-cal-system-timezone.h>
+#include <libecal/e-cal-time-util.h>
+#include <libecal/e-cal-types.h>
+#include <libecal/e-cal-util.h>
+#include <libecal/e-cal-view.h>
+#include <libecal/e-cal.h>
+
+#undef __LIBECAL_H_INSIDE__
+
+#endif /* LIBECAL_H */
+
index 56cd4f2..ed57304 100644 (file)
@@ -1,16 +1,9 @@
-include $(top_srcdir)/glib-gen.mak
-glib_enum_headers=e-data-cal-types.h
-glib_enum_output=e-data-cal-enumtypes
-glib_enum_define=E_DATA_CAL
-glib_enum_prefix=e_data_cal
-
-ENUM_GENERATED = e-data-cal-enumtypes.h e-data-cal-enumtypes.c
-
 # The libraray
 lib_LTLIBRARIES = libedata-cal-1.2.la
 
 libedata_cal_1_2_la_CPPFLAGS =                         \
        $(AM_CPPFLAGS)                          \
+       -DLIBEDATA_CAL_COMPILATION              \
        -DG_LOG_DOMAIN=\"libedata-cal\"         \
        -DBACKENDDIR=\"$(ecal_backenddir)\"     \
        -I$(top_srcdir)                         \
@@ -20,11 +13,11 @@ libedata_cal_1_2_la_CPPFLAGS =                      \
        -I$(top_builddir)/calendar              \
        $(LIBICAL_CFLAGS)                       \
        $(EVOLUTION_CALENDAR_CFLAGS)            \
+       $(CAMEL_CFLAGS)                         \
        $(CODE_COVERAGE_CFLAGS)                 \
        $(NULL)
 
 libedata_cal_1_2_la_SOURCES =          \
-       $(ENUM_GENERATED)               \
        e-cal-backend.c                 \
        e-cal-backend-cache.c           \
        e-cal-backend-factory.c         \
@@ -44,7 +37,8 @@ libedata_cal_1_2_la_LIBADD =                                  \
        $(top_builddir)/libedataserver/libedataserver-1.2.la    \
        $(top_builddir)/libebackend/libebackend-1.2.la          \
        $(LIBICAL_LIBS)                                         \
-       $(EVOLUTION_CALENDAR_LIBS)
+       $(EVOLUTION_CALENDAR_LIBS)                              \
+       $(CAMEL_LIBS)
 
 libedata_cal_1_2_la_LDFLAGS =                                                          \
        -version-info $(LIBEDATACAL_CURRENT):$(LIBEDATACAL_REVISION):$(LIBEDATACAL_AGE) $(NO_UNDEFINED) \
@@ -54,7 +48,7 @@ libedata_cal_1_2_la_LDFLAGS =                                                         \
 libedata_calincludedir = $(privincludedir)/libedata-cal
 
 libedata_calinclude_HEADERS =          \
-       e-data-cal-types.h              \
+       libedata-cal.h                  \
        e-cal-backend.h                 \
        e-cal-backend-cache.h           \
        e-cal-backend-factory.h         \
@@ -75,8 +69,6 @@ libedata_calinclude_HEADERS =                 \
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libedata-cal-$(API_VERSION).pc
 
-BUILT_SOURCES = $(ENUM_GENERATED)
-CLEANFILES = $(BUILT_SOURCES)
 DISTCLEANFILES = $(pkgconfig_DATA)
 
 EXTRA_DIST =                                           \
index 905024c..2007cec 100644 (file)
@@ -25,8 +25,7 @@
 
 #include <string.h>
 #include <glib/gstdio.h>
-#include <libecal/e-cal-util.h>
-#include <libedataserver/e-data-server-util.h>
+
 #include "e-cal-backend-cache.h"
 
 #define E_CAL_BACKEND_CACHE_GET_PRIVATE(obj) \
index c520ea9..03f2420 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_BACKEND_CACHE_H
 #define E_CAL_BACKEND_CACHE_H
 
-#include "libebackend/e-file-cache.h"
-#include <libecal/e-cal-component.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
+#include <libebackend/libebackend.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CAL_BACKEND_CACHE \
index 6620520..e030dd0 100644 (file)
  * Author: Chris Toshok <toshok@ximian.com>
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_BACKEND_FACTORY_H
 #define E_CAL_BACKEND_FACTORY_H
 
 #include <libical/ical.h>
-#include <libebackend/e-backend-factory.h>
+#include <libebackend/libebackend.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CAL_BACKEND_FACTORY \
index c35eb3b..ad8b5ba 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
-#include <string.h>
 #include "e-cal-backend-file-store.h"
-#include "libebackend/e-file-cache.h"
+
+#include <string.h>
 #include <glib/gstdio.h>
-#include "libecal/e-cal-util.c" 
+
+#include <libecal/libecal.h>
+#include <libebackend/libebackend.h>
 
 #define CACHE_FILE_NAME "calendar.ics"
 #define KEY_FILE_NAME "keys.xml"
index 512fe28..00f4dd2 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_BACKEND_FILE_STORE_H
 #define E_CAL_BACKEND_FILE_STORE_H
 
-#include "e-cal-backend-store.h"
+#include <libedata-cal/e-cal-backend-store.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CAL_BACKEND_FILE_STORE \
index 9b24b7f..00d53cd 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_INTERVALTREE_H
 #define E_INTERVALTREE_H
 
-#include <libecal/e-cal-component.h>
-#include <libecal/e-cal-recur.h>
+#include <libecal/libecal.h>
 
 #define E_INTERVALTREE_DEBUG 1
 
index 7f3aaf3..5c7e5d3 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <string.h>
 #include <glib/gi18n-lib.h>
-#include <libedataserver/e-data-server-util.h>
-#include <libecal/e-cal-time-util.h>
 
 #include "e-cal-backend-sexp.h"
 
index 39e8546..bec491b 100644 (file)
  * 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef __E_CAL_BACKEND_SEXP_H__
 #define __E_CAL_BACKEND_SEXP_H__
 
-#include <libecal/e-cal-component.h>
+#include <libecal/libecal.h>
+
 #include <libedata-cal/e-cal-backend.h>
-#include <libedataserver/e-sexp.h>
 
 #define E_TYPE_CAL_BACKEND_SEXP        (e_cal_backend_sexp_get_type ())
 #define E_CAL_BACKEND_SEXP(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_CAL_BACKEND_SEXP, ECalBackendSExp))
index 0985ba2..847f0db 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "e-cal-backend-store.h"
 #include "e-cal-backend-intervaltree.h"
-#include <libedataserver/e-data-server-util.h>
 
 #define E_CAL_BACKEND_STORE_GET_PRIVATE(obj) \
        (G_TYPE_INSTANCE_GET_PRIVATE \
index 1d2459b..32e6f1c 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_BACKEND_STORE_H
 #define E_CAL_BACKEND_STORE_H
 
-#include <libecal/e-cal-component.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CAL_BACKEND_STORE \
index 2e6d498..f14269e 100644 (file)
@@ -10,8 +10,9 @@
 #include <config.h>
 #endif
 
+#include <libedataserver/libedataserver.h>
+
 #include "e-cal-backend-sync.h"
-#include "libedataserver/e-data-server-util.h"
 #include <libical/icaltz-util.h>
 
 #define E_CAL_BACKEND_SYNC_GET_PRIVATE(obj) \
index 826e648..49676e0 100644 (file)
@@ -2,6 +2,10 @@
 /*
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef __E_CAL_BACKEND_SYNC_H__
 #define __E_CAL_BACKEND_SYNC_H__
 
index 766e47b..407f230 100644 (file)
@@ -25,9 +25,8 @@
 
 #include <string.h>
 #include <glib/gi18n-lib.h>
+
 #include "e-cal-backend-util.h"
-#include <libedataserver/e-source-mail-account.h>
-#include <libedataserver/e-source-mail-identity.h>
 
 /**
  * e_cal_backend_mail_account_get_default:
index 7842158..e574687 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_BACKEND_UTIL_H
 #define E_CAL_BACKEND_UTIL_H
 
+#include <libedataserver/libedataserver.h>
+
 #include <libedata-cal/e-cal-backend.h>
-#include <libedataserver/e-source-registry.h>
 
 G_BEGIN_DECLS
 
index bbe6063..87e9631 100644 (file)
@@ -25,8 +25,6 @@
 
 #include <glib/gi18n-lib.h>
 
-#include <libedataserver/e-data-server-util.h>
-
 #include "e-cal-backend.h"
 #include "e-cal-backend-cache.h"
 
index 9cdf35d..cbad945 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_CAL_BACKEND_H
 #define E_CAL_BACKEND_H
 
-#include <libebackend/e-backend.h>
-#include <libedataserver/e-source-registry.h>
-#include <libecal/e-cal-util.h>
-#include <libecal/e-cal-component.h>
+#include <libecal/libecal.h>
+#include <libebackend/libebackend.h>
+
 #include "e-data-cal-common.h"
 #include <libedata-cal/e-data-cal-common.h>
 #include <libedata-cal/e-data-cal.h>
-#include "e-data-cal-types.h"
 
 G_BEGIN_DECLS
 
index e03fc15..33a592c 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef CAL_COMMON_H
 #define CAL_COMMON_H
 
index d7675a9..15f1ed4 100644 (file)
@@ -30,8 +30,6 @@
 #include <unistd.h>
 #include <glib/gi18n.h>
 
-#include <libedataserver/e-source-calendar.h>
-
 #include "e-cal-backend.h"
 #include "e-cal-backend-factory.h"
 #include "e-data-cal.h"
index 1a95687..92ad3be 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_DATA_CAL_FACTORY_H
 #define E_DATA_CAL_FACTORY_H
 
-#include <libebackend/e-data-factory.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebackend/libebackend.h>
 
 /* Standard GObject macros */
 #define E_TYPE_DATA_CAL_FACTORY \
diff --git a/calendar/libedata-cal/e-data-cal-types.h b/calendar/libedata-cal/e-data-cal-types.h
deleted file mode 100644 (file)
index 66787e2..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-
-#ifndef __E_DATA_CAL_TYPES_H__
-#define __E_DATA_CAL_TYPES_H__
-
-#include <glib.h>
-
-G_BEGIN_DECLS
-
-typedef enum {
-       Success,
-       Busy,
-       RepositoryOffline,
-       PermissionDenied,
-       InvalidRange,
-       ObjectNotFound,
-       InvalidObject,
-       ObjectIdAlreadyExists,
-       AuthenticationFailed,
-       AuthenticationRequired,
-       UnsupportedField,
-       UnsupportedMethod,
-       UnsupportedAuthenticationMethod,
-       TLSNotAvailable,
-       NoSuchCal,
-       UnknownUser,
-       OfflineUnavailable,
-
-       /* These can be returned for successful searches, but
-               indicate the result set was truncated */
-       SearchSizeLimitExceeded,
-       SearchTimeLimitExceeded,
-
-       InvalidQuery,
-       QueryRefused,
-
-       CouldNotCancel,
-
-       OtherError,
-       InvalidServerVersion,
-       InvalidArg,
-       NotSupported,
-       NotOpened
-} EDataCalCallStatus;
-
-typedef enum {
-       Event = 1 << 0,
-       Todo = 1 << 1,
-       Journal = 1 << 2,
-       AnyType = 0x07
-} EDataCalObjType;
-
-typedef enum {
-       This = 1 << 0,
-       ThisAndPrior = 1 << 1,
-       ThisAndFuture = 1 << 2,
-       All = 0x07
-} EDataCalObjModType;
-
-G_END_DECLS
-
-#endif /* __E_DATA_CAL_TYPES_H__ */
index d2c9ef5..a6a2455 100644 (file)
@@ -27,8 +27,6 @@
 
 #include <string.h>
 
-#include <libedataserver/e-debug-log.h>
-#include "libedataserver/e-data-server-util.h"
 #include "e-cal-backend-sexp.h"
 #include "e-data-cal-view.h"
 #include "e-gdbus-cal-view.h"
index 2224ea8..76e6339 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_DATA_CAL_VIEW_H
 #define E_DATA_CAL_VIEW_H
 
-#include <gio/gio.h>
-#include <libecal/e-cal-client-view.h>
+#include <libecal/libecal.h>
+
 #include <libedata-cal/e-data-cal-common.h>
 #include <libedata-cal/e-cal-backend-sexp.h>
-#include <libedata-cal/e-data-cal-types.h>
 
 G_BEGIN_DECLS
 
index 69275ed..174880e 100644 (file)
 #include <glib/gi18n-lib.h>
 #include <unistd.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-operation-pool.h>
+#include <libedataserver/libedataserver.h>
 
 #include "e-data-cal.h"
-#include "e-data-cal-enumtypes.h"
 #include "e-gdbus-cal.h"
 
 #define E_DATA_CAL_GET_PRIVATE(obj) \
index c5e679e..29b10b2 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATA_CAL_H_INSIDE__) && !defined (LIBEDATA_CAL_COMPILATION)
+#error "Only <libedata-cal/libedata-cal.h> should be included directly."
+#endif
+
 #ifndef E_DATA_CAL_H
 #define E_DATA_CAL_H
 
 #include <gio/gio.h>
 #include <libedata-cal/e-data-cal-common.h>
 #include <libedata-cal/e-data-cal-view.h>
-#include <libedata-cal/e-data-cal-types.h>
 
 G_BEGIN_DECLS
 
diff --git a/calendar/libedata-cal/libedata-cal.h b/calendar/libedata-cal/libedata-cal.h
new file mode 100644 (file)
index 0000000..60a4c25
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * libedata-cal.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef LIBEDATA_CAL_H
+#define LIBEDATA_CAL_H
+
+#define __LIBEDATA_CAL_H_INSIDE__
+
+#include <libecal/libecal.h>
+#include <libebackend/libebackend.h>
+
+#include <libedata-cal/e-cal-backend-cache.h>
+#include <libedata-cal/e-cal-backend-factory.h>
+#include <libedata-cal/e-cal-backend-file-store.h>
+#include <libedata-cal/e-cal-backend.h>
+#include <libedata-cal/e-cal-backend-intervaltree.h>
+#include <libedata-cal/e-cal-backend-sexp.h>
+#include <libedata-cal/e-cal-backend-store.h>
+#include <libedata-cal/e-cal-backend-sync.h>
+#include <libedata-cal/e-cal-backend-util.h>
+#include <libedata-cal/e-data-cal-common.h>
+#include <libedata-cal/e-data-cal-factory.h>
+#include <libedata-cal/e-data-cal.h>
+#include <libedata-cal/e-data-cal-view.h>
+
+#undef __LIBEDATA_CAL_H_INSIDE__
+
+#endif /* LIBEDATA_CAL_H */
+
index 7a80d61..c911da0 100644 (file)
@@ -23,9 +23,6 @@
 #include <stdlib.h>
 #include <gio/gio.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-gdbus-marshallers.h>
-
 #include "e-gdbus-cal-factory.h"
 
 #define GDBUS_CAL_FACTORY_INTERFACE_NAME "org.gnome.evolution.dataserver.CalendarFactory"
index 1977c35..a8f6b32 100644 (file)
@@ -22,9 +22,7 @@
 #ifndef E_GDBUS_CAL_FACTORY_H
 #define E_GDBUS_CAL_FACTORY_H
 
-#include <gio/gio.h>
-
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
index 535fa21..b96cc42 100644 (file)
@@ -22,9 +22,6 @@
 #include <stdio.h>
 #include <gio/gio.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-gdbus-marshallers.h>
-
 #include "e-gdbus-cal-view.h"
 
 #define GDBUS_CAL_VIEW_INTERFACE_NAME "org.gnome.evolution.dataserver.CalendarView"
index 8692b04..b7fdc56 100644 (file)
@@ -22,9 +22,7 @@
 #ifndef E_GDBUS_CAL_VIEW_H
 #define E_GDBUS_CAL_VIEW_H
 
-#include <gio/gio.h>
-
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
index 26b82bb..b390c39 100644 (file)
 #include <stdlib.h>
 #include <gio/gio.h>
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-gdbus-marshallers.h>
-/* We only need the ECalComponentId structure from the following header */
-#include <libecal/e-cal-component.h>
-
 #include "e-gdbus-cal.h"
 
 #define E_GDBUS_CAL_PROXY_GET_PRIVATE(obj) \
@@ -90,6 +85,12 @@ enum
        __LAST_SIGNAL
 };
 
+/* This is also defined in e-cal-component.h */
+typedef struct {
+       gchar *uid;
+       gchar *rid;
+} ECalComponentId;
+
 static guint signals[__LAST_SIGNAL] = {0};
 
 struct _EGdbusCalProxyPrivate
index 53762d0..47c13b4 100644 (file)
@@ -22,9 +22,7 @@
 #ifndef E_GDBUS_CAL_H
 #define E_GDBUS_CAL_H
 
-#include <gio/gio.h>
-
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
index ea95cbd..6ef7319 100644 (file)
@@ -1333,7 +1333,7 @@ AC_SUBST(E_DATA_SERVER_LIBS)
 dnl ******************************
 dnl libedataserverui
 dnl ******************************
-E_DATA_SERVER_UI_DEPS="gtk+-3.0 libxml-2.0 gconf-2.0"
+E_DATA_SERVER_UI_DEPS="gtk+-3.0 libxml-2.0 gconf-2.0 libsoup-2.4"
 
 EVO_SET_COMPILE_FLAGS(E_DATA_SERVER_UI, $E_DATA_SERVER_UI_DEPS, , )
 AC_SUBST(E_DATA_SERVER_UI_CFLAGS)
@@ -1346,7 +1346,7 @@ if test "x$enable_maintainer_mode" = "xyes" ; then
        AC_SUBST(FACTORY_GTK_LIBS)
 fi
 
-E_BACKEND_DEPS="gio-2.0 gmodule-2.0 gnome-keyring-1 libxml-2.0 gconf-2.0"
+E_BACKEND_DEPS="gio-2.0 gmodule-2.0 gnome-keyring-1 libsoup-2.4 libxml-2.0 gconf-2.0"
 
 dnl ******************************
 dnl libebackend flags
@@ -1358,7 +1358,7 @@ AC_SUBST(E_BACKEND_LIBS)
 dnl ******************************
 dnl evolution-addressbook flags
 dnl ******************************
-EVOLUTION_ADDRESSBOOK_DEPS="gio-2.0 libxml-2.0 gconf-2.0"
+EVOLUTION_ADDRESSBOOK_DEPS="gio-2.0 libxml-2.0 gconf-2.0 libsoup-2.4 gnome-keyring-1"
 
 EVO_SET_COMPILE_FLAGS(EVOLUTION_ADDRESSBOOK, $EVOLUTION_ADDRESSBOOK_DEPS)
 AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS)
@@ -1367,7 +1367,7 @@ AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS)
 dnl ******************************
 dnl evolution-calendar flags
 dnl ******************************
-EVOLUTION_CALENDAR_DEPS="gio-2.0 libical >= libical_minimum_version libxml-2.0 gconf-2.0"
+EVOLUTION_CALENDAR_DEPS="gio-2.0 libical >= libical_minimum_version libsoup-2.4 libxml-2.0 gconf-2.0 gnome-keyring-1"
 
 dnl *****
 dnl libical.pc from libical-0.43 has a bug in it's CFlags.
index a6d3bb6..a269cfa 100644 (file)
@@ -26,12 +26,14 @@ GTKDOC_CFLAGS = \
        -I$(top_builddir)                               \
        -I$(top_builddir)/addressbook                   \
        -I$(top_builddir)/addressbook/libebook          \
-       $(EVOLUTION_ADDRESSBOOK_CFLAGS)
+       $(EVOLUTION_ADDRESSBOOK_CFLAGS)                 \
+       $(CAMEL_CFLAGS)
 
 GTKDOC_LIBS = \
        $(top_builddir)/addressbook/libebook/libebook-1.2.la    \
        $(top_builddir)/libedataserver/libedataserver-1.2.la    \
-       $(EVOLUTION_ADDRESSBOOK_LIBS)
+       $(EVOLUTION_ADDRESSBOOK_LIBS)                           \
+       $(CAMEL_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
index a52ebb9..8729e83 100644 (file)
@@ -1,10 +1,4 @@
-#include <libebook/e-book.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-client-view.h>
-#include <libebook/e-book-view.h>
-#include <libebook/e-contact.h>
-#include <libebook/e-destination.h>
-#include <libebook/e-vcard.h>
+#include <libebook/libebook.h>
 
 e_book_get_type
 e_book_client_get_type
index 2ce5ce2..4be2acc 100644 (file)
@@ -27,14 +27,16 @@ GTKDOC_CFLAGS = \
        -I$(top_srcdir)/addressbook                     \
        -I$(top_builddir)                               \
        -I$(top_builddir)/addressbook                   \
-       $(EVOLUTION_ADDRESSBOOK_CFLAGS)
+       $(EVOLUTION_ADDRESSBOOK_CFLAGS)                 \
+       $(CAMEL_CFLAGS)
 
 GTKDOC_LIBS = \
        $(top_builddir)/addressbook/libedata-book/libedata-book-1.2.la  \
        $(top_builddir)/addressbook/libebook/libebook-1.2.la            \
        $(top_builddir)/libebackend/libebackend-1.2.la                  \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
-       $(EVOLUTION_ADDRESSBOOK_LIBS)
+       $(EVOLUTION_ADDRESSBOOK_LIBS)                                   \
+       $(CAMEL_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
index 56e8924..1d821ba 100644 (file)
@@ -1,11 +1,4 @@
-#include <libedata-book/e-book-backend.h>
-#include <libedata-book/e-book-backend-cache.h>
-#include <libedata-book/e-book-backend-factory.h>
-#include <libedata-book/e-book-backend-sexp.h>
-#include <libedata-book/e-book-backend-summary.h>
-#include <libedata-book/e-book-backend-sync.h>
-#include <libedata-book/e-data-book.h>
-#include <libedata-book/e-data-book-view.h>
+#include <libedata-book/libedata-book.h>
 
 e_book_backend_get_type
 e_book_backend_cache_get_type
index 72492be..1375ee9 100644 (file)
@@ -27,12 +27,14 @@ GTKDOC_CFLAGS = \
        -I$(top_builddir)/calendar                              \
        -I$(top_builddir)/calendar/libecal                      \
        $(LIBICAL_CFLAGS)                                       \
-       $(EVOLUTION_CALENDAR_CFLAGS)
+       $(EVOLUTION_CALENDAR_CFLAGS)                            \
+       $(CAMEL_CFLAGS)
 
 GTKDOC_LIBS = \
        $(top_builddir)/calendar/libecal/libecal-1.2.la         \
        $(top_builddir)/libedataserver/libedataserver-1.2.la    \
-       $(EVOLUTION_CALENDAR_LIBS)
+       $(EVOLUTION_CALENDAR_LIBS)                              \
+       $(CAMEL_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
index 62b32cc..1e53d31 100644 (file)
@@ -1,8 +1,4 @@
-#include <libecal/e-cal.h>
-#include <libecal/e-cal-client.h>
-#include <libecal/e-cal-client-view.h>
-#include <libecal/e-cal-component.h>
-#include <libecal/e-cal-view.h>
+#include <libecal/libecal.h>
 
 e_cal_get_type
 e_cal_client_get_type
index c7ca301..e792ba5 100644 (file)
@@ -31,7 +31,8 @@ GTKDOC_CFLAGS = \
        -I$(top_builddir)                               \
        -I$(top_builddir)/calendar                      \
        $(LIBICAL_CFLAGS)                               \
-       $(EVOLUTION_CALENDAR_CFLAGS)
+       $(EVOLUTION_CALENDAR_CFLAGS)                    \
+       $(CAMEL_CFLAGS)
 
 GTKDOC_LIBS = \
        $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la       \
@@ -39,6 +40,7 @@ GTKDOC_LIBS = \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(top_builddir)/libebackend/libebackend-1.2.la                  \
        $(EVOLUTION_CALENDAR_LIBS)                                      \
+       $(CAMEL_LIBS)                                                   \
        $(DB_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
index 03ab478..37b38fa 100644 (file)
@@ -1,10 +1,4 @@
-#include <libedata-cal/e-cal-backend.h>
-#include <libedata-cal/e-cal-backend-cache.h>
-#include <libedata-cal/e-cal-backend-factory.h>
-#include <libedata-cal/e-cal-backend-sexp.h>
-#include <libedata-cal/e-cal-backend-sync.h>
-#include <libedata-cal/e-data-cal.h>
-#include <libedata-cal/e-data-cal-view.h>
+#include <libedata-cal/libedata-cal.h>
 
 e_cal_backend_get_type
 e_cal_backend_cache_get_type
index 2a97a43..77d3cce 100644 (file)
@@ -19,12 +19,14 @@ GTKDOC_CFLAGS  =                                    \
        -I$(top_srcdir)/libebackend                     \
        -I$(top_srcdir)                                 \
        -I$(top_builddir)                               \
-       $(E_BACKEND_CFLAGS)
+       $(E_BACKEND_CFLAGS)                             \
+       $(CAMEL_CFLAGS)
 
 GTKDOC_LIBS =                                                  \
        $(top_builddir)/libebackend/libebackend-1.2.la          \
        $(top_builddir)/libedataserver/libedataserver-1.2.la    \
-       $(E_BACKEND_LIBS)
+       $(E_BACKEND_LIBS)                                       \
+       $(CAMEL_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
index 7ecf584..1a5d962 100644 (file)
@@ -1,18 +1,4 @@
-#include <libebackend/e-authentication-mediator.h>
-#include <libebackend/e-authentication-session.h>
-#include <libebackend/e-backend.h>
-#include <libebackend/e-backend-factory.h>
-#include <libebackend/e-collection-backend.h>
-#include <libebackend/e-collection-backend-factory.h>
-#include <libebackend/e-data-factory.h>
-#include <libebackend/e-dbus-server.h>
-#include <libebackend/e-extensible.h>
-#include <libebackend/e-extension.h>
-#include <libebackend/e-file-cache.h>
-#include <libebackend/e-module.h>
-#include <libebackend/e-offline-listener.h>
-#include <libebackend/e-server-side-source.h>
-#include <libebackend/e-source-registry-server.h>
+#include <libebackend/libebackend.h>
 
 e_authentication_mediator_get_type
 e_authentication_session_get_type
index 586f7c9..ee6c766 100644 (file)
@@ -1,33 +1,4 @@
-#include <libedataserver/e-client.h>
-#include <libedataserver/e-iterator.h>
-#include <libedataserver/e-list.h>
-#include <libedataserver/e-list-iterator.h>
-#include <libedataserver/e-proxy.h>
-#include <libedataserver/e-source.h>
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-authenticator.h>
-#include <libedataserver/e-source-backend.h>
-#include <libedataserver/e-source-calendar.h>
-#include <libedataserver/e-source-camel.h>
-#include <libedataserver/e-source-collection.h>
-#include <libedataserver/e-source-extension.h>
-#include <libedataserver/e-source-goa.h>
-#include <libedataserver/e-source-mail-account.h>
-#include <libedataserver/e-source-mail-composition.h>
-#include <libedataserver/e-source-mail-identity.h>
-#include <libedataserver/e-source-mail-signature.h>
-#include <libedataserver/e-source-mail-submission.h>
-#include <libedataserver/e-source-mail-transport.h>
-#include <libedataserver/e-source-mdn.h>
-#include <libedataserver/e-source-offline.h>
-#include <libedataserver/e-source-openpgp.h>
-#include <libedataserver/e-source-refresh.h>
-#include <libedataserver/e-source-registry.h>
-#include <libedataserver/e-source-security.h>
-#include <libedataserver/e-source-selectable.h>
-#include <libedataserver/e-source-smime.h>
-#include <libedataserver/e-source-webdav.h>
+#include <libedataserver/libedataserver.h>
 
 e_client_get_type
 e_iterator_get_type
index f2c7857..295815b 100644 (file)
@@ -23,7 +23,8 @@ GTKDOC_CFLAGS  =                                      \
        -I$(top_srcdir)/addressbook                     \
        -I$(top_srcdir)                                 \
        -I$(top_builddir)                               \
-       $(E_DATA_SERVER_UI_CFLAGS)
+       $(E_DATA_SERVER_UI_CFLAGS)                      \
+       $(CAMEL_CFLAGS)
 
 GTKDOC_LIBS =                                                          \
        $(top_builddir)/libedataserverui/libedataserverui-3.0.la        \
@@ -31,7 +32,8 @@ GTKDOC_LIBS =                                                                 \
        $(top_builddir)/addressbook/libebook/libebook-1.2.la            \
        $(top_builddir)/libebackend/libebackend-1.2.la                  \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
-       $(E_DATA_SERVER_UI_LIBS)
+       $(E_DATA_SERVER_UI_LIBS)                                        \
+       $(CAMEL_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
index 0041710..e9b198e 100644 (file)
@@ -1,18 +1,4 @@
-#include <libedataserverui/e-categories-dialog.h>
-#include <libedataserverui/e-categories-editor.h>
-#include <libedataserverui/e-categories-selector.h>
-#include <libedataserverui/e-category-editor.h>
-#include <libedataserverui/e-contact-store.h>
-#include <libedataserverui/e-destination-store.h>
-#include <libedataserverui/e-name-selector.h>
-#include <libedataserverui/e-name-selector-dialog.h>
-#include <libedataserverui/e-name-selector-entry.h>
-#include <libedataserverui/e-name-selector-list.h>
-#include <libedataserverui/e-name-selector-model.h>
-#include <libedataserverui/e-source-combo-box.h>
-#include <libedataserverui/e-source-selector.h>
-#include <libedataserverui/e-source-selector-dialog.h>
-#include <libedataserverui/e-tree-model-generator.h>
+#include <libedataserverui/libedataserverui.h>
 
 e_categories_dialog_get_type
 e_categories_editor_get_type
index 378b205..bdc30eb 100644 (file)
@@ -14,12 +14,14 @@ libebackend_1_2_la_CPPFLAGS = \
        $(AM_CPPFLAGS)                                          \
        -I$(top_srcdir)                                         \
        -I$(top_srcdir)/private                                 \
+       -DLIBEBACKEND_COMPILATION                               \
        -DG_LOG_DOMAIN=\"libebackend\"                          \
        -DMODULE_DIRECTORY=\"$(moduledir)\"                     \
        -DE_DATA_SERVER_PRIVDATADIR=\"$(privdatadir)\"          \
        -DSYSTEM_WIDE_RO_SOURCES_DIRECTORY=\"$(ro_sourcesdir)\" \
        -DSYSTEM_WIDE_RW_SOURCES_DIRECTORY=\"$(rw_sourcesdir)\" \
        $(DB_CFLAGS)                                            \
+       $(CAMEL_CFLAGS)                                         \
        $(SQLITE3_CFLAGS)                                       \
        $(E_BACKEND_CFLAGS)                                     \
        $(GCR_BASE_CFLAGS)                                      \
@@ -52,6 +54,7 @@ libebackend_1_2_la_LIBADD =                           \
        $(top_builddir)/libedataserver/libedataserver-1.2.la \
        $(top_builddir)/private/libedbus-private.la     \
        $(E_BACKEND_LIBS)                               \
+       $(CAMEL_LIBS)                                   \
        $(SQLITE3_LIBS)                                 \
        $(GCR_BASE_LIBS)                                \
        $(GIO_UNIX_LIBS)                                \
@@ -65,10 +68,12 @@ libebackend_1_2_la_LDFLAGS = \
 libebackendincludedir = $(privincludedir)/libebackend
 
 libebackendinclude_HEADERS =           \
+       libebackend.h                   \
        e-authentication-mediator.h     \
        e-authentication-session.h      \
        e-backend.h                     \
        e-backend-enums.h               \
+       e-backend-enumtypes.h           \
        e-backend-factory.h             \
        e-collection-backend.h          \
        e-collection-backend-factory.h  \
index 0af6805..8658615 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-authentication-mediator
- * @include: libebackend/e-authentication-mediator.h
+ * @include: libebackend/libebackend.h
  * @short_description: Authenticator proxy for remote clients
  *
  * #EAuthenticationMediator runs on the registry D-Bus service.  It mediates
@@ -37,9 +37,6 @@
 #include <glib/gi18n-lib.h>
 #include <gcr/gcr-base.h>
 
-#include <libedataserver/e-flag.h>
-#include <libedataserver/e-data-server-util.h>
-
 /* Private D-Bus classes. */
 #include <e-dbus-authenticator.h>
 
index 8161ffc..f4c5e9c 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_AUTHENTICATION_MEDIATOR_H
 #define E_AUTHENTICATION_MEDIATOR_H
 
-#include <libedataserver/e-source-authenticator.h>
+#include <libedataserver/libedataserver.h>
 
 /* Standard GObject macros */
 #define E_TYPE_AUTHENTICATION_MEDIATOR \
index 0e6ebd1..34b35f4 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-authentication-session
- * @include: libedataserver/e-authentication-session.h
+ * @include: libebackend/libebackend.h
  * @short_description: Centralized authentication management
  *
  * #EAuthenticationSession provides centralized password management and
index 4ef4e78..be0afec 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_AUTHENTICATION_SESSION_H
 #define E_AUTHENTICATION_SESSION_H
 
@@ -25,8 +29,9 @@
  * reusing the GnomeKeyringResult enum for error codes. */
 #include <gnome-keyring.h>
 
+#include <libedataserver/libedataserver.h>
+
 #include <libebackend/e-backend-enums.h>
-#include <libedataserver/e-source-authenticator.h>
 
 /* Standard GObject macros */
 #define E_TYPE_AUTHENTICATION_SESSION \
index f011aab..5685baf 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_BACKEND_ENUMS_H
 #define E_BACKEND_ENUMS_H
 
index 8068e4a..f97bc7f 100644 (file)
@@ -18,8 +18,8 @@
 
 /**
  * SECTION: e-backend-factory
+ * @include: libebackend/libebackend.h
  * @short_description: An abstract base class for backend factories
- * @include: libebackend/e-backend-factory.h
  *
  * An #EBackendFactory's job is to create an #EBackend instance for a
  * given #ESource.  #EBackendFactory and #EBackend should be subclassed
index 4937e0f..88c556e 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_BACKEND_FACTORY_H
 #define E_BACKEND_FACTORY_H
 
index df18f28..a2e79f1 100644 (file)
@@ -18,8 +18,8 @@
 
 /**
  * SECTION: e-backend
+ * @include: libebackend/libebackend.h
  * @short_description: An abstract base class for backends
- * @include: libebackend/e-backend.h
  *
  * An #EBackend is paired with an #ESource to facilitate performing
  * actions on the local or remote resource described by the #ESource.
index a806818..7b1ed9c 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_BACKEND_H
 #define E_BACKEND_H
 
-#include <libedataserver/e-source.h>
+#include <libedataserver/libedataserver.h>
 
 /* Standard GObject macros */
 #define E_TYPE_BACKEND \
index f7daf77..2903a33 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-collection-backend-factory
- * @include: libebackend/e-collection-backend-factory.h
+ * @include: libebackend/libebackend.h
  * @short_description: An abstract base class for a data source collection
  *                     backend factory
  *
 
 #include "e-collection-backend-factory.h"
 
-#include <libedataserver/e-source-mail-account.h>
-#include <libedataserver/e-source-mail-identity.h>
-#include <libedataserver/e-source-mail-submission.h>
-#include <libedataserver/e-source-mail-transport.h>
+#include <libedataserver/libedataserver.h>
 
 #include <libebackend/e-collection-backend.h>
 #include <libebackend/e-source-registry-server.h>
index c2a436f..4060e51 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_COLLECTION_BACKEND_FACTORY_H
 #define E_COLLECTION_BACKEND_FACTORY_H
 
index 7af1192..4aacd3b 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-collection-backend
- * @include: libebackend/e-collection-backend.h
+ * @include: libebackend/libebackend.h
  * @short_description: An abstract base class for a data source
  *                     collection backend
  *
 
 #include "e-collection-backend.h"
 
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-calendar.h>
-#include <libedataserver/e-source-collection.h>
-#include <libedataserver/e-source-mail-account.h>
-#include <libedataserver/e-source-mail-identity.h>
-#include <libedataserver/e-source-mail-transport.h>
-#include <libedataserver/e-uid.h>
+#include <libedataserver/libedataserver.h>
 
 #include <libebackend/e-server-side-source.h>
 #include <libebackend/e-source-registry-server.h>
index 8f2b4b7..169864d 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_COLLECTION_BACKEND_H
 #define E_COLLECTION_BACKEND_H
 
index 4cdf3f1..56a4e20 100644 (file)
@@ -18,8 +18,8 @@
 
 /**
  * SECTION: e-data-factory
+ * @include: libebackend/libebackend.h
  * @short_description: An abstract base class for a backend-based server
- * @include: libebackend/e-data-factory
  **/
 
 #include "e-data-factory.h"
index 152eb9d..3aefbf6 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_DATA_FACTORY_H
 #define E_DATA_FACTORY_H
 
index f61f2e8..20d4485 100644 (file)
@@ -8,6 +8,10 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef __E_DB3_UTILS_H__
 #define __E_DB3_UTILS_H__
 
index 92ed914..1163dbb 100644 (file)
@@ -8,6 +8,10 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_DBHASH_H
 #define E_DBHASH_H
 
index 0d72a36..7015c85 100644 (file)
@@ -18,8 +18,8 @@
 
 /**
  * SECTION: e-dbus-server
+ * @include: libebackend/libebackend.h
  * @short_description: An abstract base class for a D-Bus server
- * @include: libebackend/e-dbus-server
  **/
 
 #include "e-dbus-server.h"
index 20a3452..cad8279 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_DBUS_SERVER_H
 #define E_DBUS_SERVER_H
 
index 40248b7..27a832d 100644 (file)
@@ -18,8 +18,8 @@
 
 /**
  * SECTION: e-extensible
+ * @include: libebackend/libebackend.h
  * @short_description: An interface for extending objects
- * @include: libebackend/e-extensible.h
  *
  * #EExtension objects can be tacked on to any #GObject instance that
  * implements the #EExtensible interface.  A #GObject type can be made
index 3eb8c82..d49ea67 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_EXTENSIBLE_H
 #define E_EXTENSIBLE_H
 
index 2efe3eb..18dddf2 100644 (file)
@@ -18,8 +18,8 @@
 
 /**
  * SECTION: e-extension
+ * @include: libebackend/libebackend.h
  * @short_description: An abstract base class for extensions
- * @include: libebackend/e-extension.h
  *
  * #EExtension provides a way to extend the functionality of objects
  * that implement the #EExtensible interface.  #EExtension subclasses
index a71d4bd..736cfe2 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_EXTENSION_H
 #define E_EXTENSION_H
 
index 2e66138..c7ce9b6 100644 (file)
 #include <unistd.h>
 
 #include <glib/gstdio.h>
+#include <libedataserver/libedataserver.h>
 
 #include "e-file-cache.h"
-#include "libedataserver/e-data-server-util.h"
-#include "libedataserver/e-xml-hash-utils.h"
 
 #define E_FILE_CACHE_GET_PRIVATE(obj) \
        (G_TYPE_INSTANCE_GET_PRIVATE \
index ac5e6fc..8a1aefa 100644 (file)
  * Authors: Rodrigo Moya <rodrigo@ximian.com>
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_FILE_CACHE_H
 #define E_FILE_CACHE_H
 
index 34c5412..539a81f 100644 (file)
@@ -18,8 +18,8 @@
 
 /**
  * SECTION: e-module
+ * @include: libebackend/libebackend.h
  * @short_description: A module loader
- * @include: libebackend/e-module.h
  **/
 
 #include "e-module.h"
index 2700ac1..5487aab 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_MODULE_H
 #define E_MODULE_H
 
index 7800976..f99e354 100644 (file)
  * Author: Sivaiah Nallagatla <snallagatla@novell.com>
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef EDS_DISABLE_DEPRECATED
 
 #ifndef E_OFFLINE_LISTENER_H
index ec55cdd..fefb8c3 100644 (file)
@@ -18,8 +18,8 @@
 
 /**
  * SECTION: e-server-side-source
+ * @include: libebackend/libebackend.h
  * @short_description: A server-side data source
- * @include: libebackend/e-server-side-source.h
  *
  * An #EServerSideSource is an #ESource with some additional capabilities
  * exclusive to the registry D-Bus service.
@@ -33,9 +33,6 @@
 /* Private D-Bus classes. */
 #include <e-dbus-source.h>
 
-#include <libedataserver/e-uid.h>
-#include <libedataserver/e-data-server-util.h>
-
 #define E_SERVER_SIDE_SOURCE_GET_PRIVATE(obj) \
        (G_TYPE_INSTANCE_GET_PRIVATE \
        ((obj), E_TYPE_SERVER_SIDE_SOURCE, EServerSideSourcePrivate))
index 74ca374..b8ba8f5 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_SERVER_SIDE_SOURCE_H
 #define E_SERVER_SIDE_SOURCE_H
 
-#include <libedataserver/e-source.h>
+#include <libedataserver/libedataserver.h>
+
 #include <libebackend/e-source-registry-server.h>
 
 /* Standard GObject macros */
index 8db22e2..4311b5e 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-registry-server
- * @include: libebackend/e-source-registry-server.h
+ * @include: libebackend/libebackend.h
  * @short_description: Server-side repository for data sources
  *
  * The #ESourceRegistryServer is the heart of the registry D-Bus service.
 #include <e-dbus-source.h>
 #include <e-dbus-source-manager.h>
 
-#include <libedataserver/e-uid.h>
 #include <libedataserver/e-marshal.h>
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-source-collection.h>
 
 #include <libebackend/e-authentication-mediator.h>
 #include <libebackend/e-authentication-session.h>
index 9568e5e..6427083 100644 (file)
  *
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_REGISTRY_SERVER_H
 #define E_SOURCE_REGISTRY_SERVER_H
 
+#include <libedataserver/libedataserver.h>
+
 #include <libebackend/e-authentication-session.h>
 #include <libebackend/e-backend-enums.h>
 #include <libebackend/e-data-factory.h>
 #include <libebackend/e-collection-backend-factory.h>
-#include <libedataserver/e-source.h>
 
 /* Standard GObject macros */
 #define E_TYPE_SOURCE_REGISTRY_SERVER \
index 1954e77..2307499 100644 (file)
@@ -27,7 +27,7 @@
 #include <string.h>
 
 #include <glib/gi18n-lib.h>
-#include <libedataserver/e-flag.h>
+#include <libedataserver/libedataserver.h>
 
 #include "e-sqlite3-vfs.h"
 
index 22835ad..8cf38b9 100644 (file)
  * USA
  */
 
+#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
+#error "Only <libebackend/libebackend.h> should be included directly."
+#endif
+
 #ifndef E_SQLITE3_VFS_H
 #define E_SQLITE3_VFS_H
 
diff --git a/libebackend/libebackend.h b/libebackend/libebackend.h
new file mode 100644 (file)
index 0000000..99947b1
--- /dev/null
@@ -0,0 +1,50 @@
+/*
+ * libebackend.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef LIBEBACKEND_H
+#define LIBEBACKEND_H
+
+#define __LIBEBACKEND_H_INSIDE__
+
+#include <libedataserver/libedataserver.h>
+
+#include <libebackend/e-authentication-mediator.h>
+#include <libebackend/e-authentication-session.h>
+#include <libebackend/e-backend-enums.h>
+#include <libebackend/e-backend-enumtypes.h>
+#include <libebackend/e-backend-factory.h>
+#include <libebackend/e-backend.h>
+#include <libebackend/e-collection-backend-factory.h>
+#include <libebackend/e-collection-backend.h>
+#include <libebackend/e-data-factory.h>
+#include <libebackend/e-db3-utils.h>
+#include <libebackend/e-dbhash.h>
+#include <libebackend/e-dbus-server.h>
+#include <libebackend/e-extensible.h>
+#include <libebackend/e-extension.h>
+#include <libebackend/e-file-cache.h>
+#include <libebackend/e-module.h>
+#include <libebackend/e-offline-listener.h>
+#include <libebackend/e-server-side-source.h>
+#include <libebackend/e-source-registry-server.h>
+#include <libebackend/e-sqlite3-vfs.h>
+
+#undef __LIBEBACKEND_H_INSIDE__
+
+#endif /* LIBEBACKEND_H */
+
index 3a7b83b..586a03e 100644 (file)
@@ -24,6 +24,7 @@ libedataserver_1_2_la_CPPFLAGS = \
        $(AM_CPPFLAGS)                                                  \
        -I$(top_srcdir)                                                 \
        -I$(top_srcdir)/private                                         \
+       -DLIBEDATASERVER_COMPILATION                                    \
        -DG_LOG_DOMAIN=\"e-data-server\"                                \
        -DE_DATA_SERVER_PREFIX=\"$(prefix)\"                            \
        -DE_DATA_SERVER_LOCALEDIR=\""$(localedir)"\"                    \
@@ -110,6 +111,7 @@ libedataserver_1_2_la_LDFLAGS = \
 libedataserverincludedir = $(privincludedir)/libedataserver
 
 libedataserverinclude_HEADERS =                \
+       libedataserver.h                \
        e-categories.h                  \
        e-client.h                      \
        e-credentials.h                 \
@@ -192,8 +194,7 @@ DISTCLEANFILES = eds-version.h                              \
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
 INTROSPECTION_SCANNER_ARGS = --identifier-prefix E --pkg-export \
-       libedataserver-1.2  --c-include="libedataserver/e-account.h" \
-       --c-include="libedataserver/e-source.h"
+       libedataserver-1.2  --c-include="libedataserver/libedataserver.h"
 INTROSPECTION_COMPILER_ARGS =
 
 if HAVE_INTROSPECTION
@@ -203,7 +204,7 @@ introspection_sources = \
 
 EDataServer-1.2.gir: libedataserver-1.2.la
 EDataServer_1_2_gir_INCLUDES = GObject-2.0 libxml2-2.0 Gio-2.0
-EDataServer_1_2_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) $(E_DATA_SERVER_CFLAGS) \
+EDataServer_1_2_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -DLIBEDATASERVER_COMPILATION $(E_DATA_SERVER_CFLAGS) \
        $(SOUP_CFLAGS)
 EDataServer_1_2_gir_LIBS = libedataserver-1.2.la
 EDataServer_1_2_gir_FILES = $(introspection_sources)
index 4bc048a..2baae0f 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_CATEGORIES_H
 #define E_CATEGORIES_H
 
index 8ae38ef..f1da0c4 100644 (file)
 #ifndef E_CLIENT_PRIVATE_H
 #define E_CLIENT_PRIVATE_H
 
-#include <gio/gio.h>
-
-#include "libedataserver/e-source.h"
-#include "libedataserver/e-client.h"
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
index 5833cf0..203f95f 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_CLIENT_H
 #define E_CLIENT_H
 
index 8078fcd..e3dcd93 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef EDS_DISABLE_DEPRECATED
 
 #ifndef E_CREDENTIALS_H
index f9ba9cb..371a415 100644 (file)
  * Authors: Rodrigo Moya <rodrigo@ximian.com>
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_DATA_SERVER_UTIL_H
 #define E_DATA_SERVER_UTIL_H
 
index 1862a1a..9e40b07 100644 (file)
  * Author: Federico Mena-Quintero <federico@novell.com>
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_DEBUG_LOG_H
 #define E_DEBUG_LOG_H
 
index 10d2fb1..b10d9b9 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_FLAG_H
 #define E_FLAG_H
 
index a42be84..0c45d48 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_GDBUS_TEMPLATES_H
 #define E_GDBUS_TEMPLATES_H
 
index 356c239..1102f89 100644 (file)
@@ -6,6 +6,10 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef EDS_DISABLE_DEPRECATED
 
 #ifndef E_ITERATOR_H
index 3d3a954..e5386b4 100644 (file)
@@ -6,6 +6,10 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef EDS_DISABLE_DEPRECATED
 
 #ifndef E_LIST_ITERATOR_H
index 35a9690..7ee10bf 100644 (file)
@@ -6,6 +6,10 @@
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef EDS_DISABLE_DEPRECATED
 
 #ifndef E_LIST_H
index f223349..3ec15de 100644 (file)
  * USA
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_MEMORY_H
 #define E_MEMORY_H
 
index 375f067..e5edf32 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_OPERATION_POOL_H
 #define E_OPERATION_POOL_H
 
index fb1cd3d..6dfa156 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_PROXY_H
 #define E_PROXY_H
 
index 17b2f18..9ff2935 100644 (file)
@@ -1,6 +1,11 @@
 /*
  * generic s-exp evaluator class
 */
+
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef _E_SEXP_H
 #define _E_SEXP_H
 
index 2687f1d..38eb98a 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-address-book
- * @include: libedataserver/e-source-address-book.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for an address book
  *
  * The #ESourceAddressBook extension identifies the #ESource as an
index bd9dc25..dbe2f4e 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_ADDRESS_BOOK_H
 #define E_SOURCE_ADDRESS_BOOK_H
 
index 57bdcc4..8238a07 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-alarms
- * @include: libedataserver/e-source-alarms.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for alarm state
  *
  * The #ESourceAlarms extension tracks alarm state for a calendar.
index cacc7d5..630aa4f 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_ALARMS_H
 #define E_SOURCE_ALARMS_H
 
index 9246c2c..7122734 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-authentication
- * @include: libedataserver/e-source-authentication.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for authentication settings
  *
  * The #ESourceAuthentication extension tracks authentication settings
index 86faaf0..3d2fbe1 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_AUTHENTICATION_H
 #define E_SOURCE_AUTHENTICATION_H
 
index 7d99599..3e9936b 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-authenticator
- * @include: libedataserver/e-source-authenticator.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: Interface for authentication attempts
  *
  * An object implementing the #ESourceAuthenticator interface gets passed
index c40d09b..e9c0b7f 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_AUTHENTICATOR_H
 #define E_SOURCE_AUTHENTICATOR_H
 
index 5aa9d13..93148e2 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-autocomplete
- * @include: libedataserver/e-source-autocomplete.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for autocomplete settings
  *
  * The #ESourceAutocomplete extension tracks contact autocompletion
index db42606..56ec8c8 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_AUTOCOMPLETE_H
 #define E_SOURCE_AUTOCOMPLETE_H
 
index e9be2ab..301ceb2 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-backend
- * @include: libedataserver/e-source-backend.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: Base class for backend-based data sources
  *
  * #ESourceBackend is an abstract base class for data sources requiring
index 5d3baee..20c8dba 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_BACKEND_H
 #define E_SOURCE_BACKEND_H
 
index 13d0d52..5714f9b 100644 (file)
@@ -21,7 +21,7 @@
 
 /**
  * SECTION: e-source-calendar
- * @include: libedataserver/e-source-calendar.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for a calendar
  *
  * The #ESourceCalendar extension identifies the #ESource as a calendar.
@@ -39,7 +39,7 @@
 
 /**
  * SECTION: e-source-memo-list
- * @include: libedataserver/e-source-calendar.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for a memo list
  *
  * The #ESourceCalendar extension identifies the #ESource as a memo list.
@@ -57,7 +57,7 @@
 
 /**
  * SECTION: e-source-task-list
- * @include: libedataserver/e-source-calendar.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for a task list
  *
  * The #ESourceCalendar extension identifies the #ESource as a task list.
index ac84bc4..573e0be 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_CALENDAR_H
 #define E_SOURCE_CALENDAR_H
 
index df0d67b..107fc2d 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-camel
- * @include: libedataserver/e-source-camel.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for #CamelSettings
  *
  * #ESourceCamel itself is abstract.  Its sole function is to
index 703955e..98d5265 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_CAMEL_H
 #define E_SOURCE_CAMEL_H
 
index 4a80c4a..ce89226 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-collection
- * @include: libedataserver/e-source-collection.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for grouping related resources
  *
  * The #ESourceCollection extension identifies the #ESource as the root
index b7e95be..36806d5 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_COLLECTION_H
 #define E_SOURCE_COLLECTION_H
 
index d4c7214..8e7bf05 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_ENUMS_H
 #define E_SOURCE_ENUMS_H
 
index 07024cf..4d7ea76 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-extension
- * @include: libedataserver/e-source-extension.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: Base class for #ESource extensions
  *
  * #ESourceExtension is an abstract base class for #ESource extension
index 4095696..a51e4df 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_EXTENSION_H
 #define E_SOURCE_EXTENSION_H
 
index 3fd17b9..9efd009 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-goa
- * @include: libedataserver/e-source-goa.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for GNOME Online Accounts
  *
  * The #ESourceGoa extension associates an #ESource with a #GoaAccount.
index ed68d9f..bbbbb67 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_GOA_H
 #define E_SOURCE_GOA_H
 
index 65c2698..8331a87 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-mail-account
- * @include: libedataserver/e-source-mail-account.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for an email account
  *
  * The #ESourceMailAccount extension identifies the #ESource as a
index c956ae3..506182c 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_MAIL_ACCOUNT_H
 #define E_SOURCE_MAIL_ACCOUNT_H
 
index db42b88..d26668c 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-mail-composition
- * @include: libedataserver/e-source-mail-composition.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for mail composition settings
  *
  * The #ESourceMailComposition extension tracks settings to be applied
index 29c8ffd..5430433 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_MAIL_COMPOSITION_H
 #define E_SOURCE_MAIL_COMPOSITION_H
 
index 2f1797b..7e7a330 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-mail-identity
- * @include: libedataserver/e-source-mail-identity.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for an email identity
  *
  * The #ESourceMailIdentity extension describes an "identity" for a mail
index 276fc84..9b2cef0 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_MAIL_IDENTITY_H
 #define E_SOURCE_MAIL_IDENTITY_H
 
index fc198d7..3860139 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-mail-signature
- * @include: libedataserver/e-source-mail-signature.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for email signatures
  *
  * The #ESourceMailSignature extension refers to a personalized email
index 3922f8f..668c8be 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_MAIL_SIGNATURE_H
 #define E_SOURCE_MAIL_SIGNATURE_H
 
index 32d84c7..448939f 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-mail-submission
- * @include: libedataserver/e-source-mail-submission.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for submitting emails
  *
  * The #ESourceMailSubmission extension tracks settings to be applied
index 0833609..d23e541 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_MAIL_SUBMISSION_H
 #define E_SOURCE_MAIL_SUBMISSION_H
 
index d54f993..847fa9e 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-mail-transport
- * @include: libedataserver/e-source-mail-transport.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for an email transport
  *
  * The #ESourceMailTransport extension identifies the #ESource as a
index de55111..72c18bf 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_MAIL_TRANSPORT_H
 #define E_SOURCE_MAIL_TRANSPORT_H
 
index e63d645..6776e88 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-mdn
- * @include: libedataserver/e-source-mdn.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for MDN settings
  *
  * The #ESourceMDN extension tracks Message Disposition Notification
index 016ef7d..404ea00 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_MDN_H
 #define E_SOURCE_MDN_H
 
index b5f60f4..2a34cb9 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-offline
- * @include: libedataserver/e-source-offline.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for offline settings
  *
  * The #ESourceOffline extension tracks whether data from a remote
index 00053db..5f34a6a 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_OFFLINE_H
 #define E_SOURCE_OFFLINE_H
 
index 18aa3ab..ebdfbaf 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-openpgp
- * @include: libedataserver/e-source-openpgp.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for OpenPGP settings
  *
  * The #ESourceOpenPGP extension tracks OpenPGP (RFC 4880) settings to be
index 840b929..c4d5348 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_OPENPGP_H
 #define E_SOURCE_OPENPGP_H
 
index 7c5fa57..8c0e493 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-refresh
- * @include: libedataserver/e-source-refresh.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for refresh settings
  *
  * The #ESourceRefresh extension tracks the interval for fetching
index 9b05ba9..1856176 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_REFRESH_H
 #define E_SOURCE_REFRESH_H
 
index 6d4f5a0..01237b1 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-registry
- * @include: libedataserver/e-source-registry.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: A central repository for data sources
  *
  * The #ESourceRegistry is a global singleton store for all #ESource
index c675fa7..8ee290f 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_REGISTRY_H
 #define E_SOURCE_REGISTRY_H
 
index 6bc916d..b2d945b 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-security
- * @include: libedataserver/e-source-security.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for security settings
  *
  * The #ESourceSecurity extension tracks settings for establishing a
index 28e2e85..67d083e 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_SECURITY_H
 #define E_SOURCE_SECURITY_H
 
index 5645387..1e9aede 100644 (file)
 
 /**
  * SECTION: e-source-selectable
- * @include: libedataserver/e-source-selectable.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: Base class for selectable data sources
- * @see_also: #ESourceAddressBook, #ESourceCalendar, #ESourceMemoList,
- *            #ESourceTaskList
+ * @see_also: #ESourceCalendar, #ESourceMemoList, #ESourceTaskList
  *
  * #ESourceSelectable is an abstract base class for data sources
  * that can be selected in an #ESourceSelector or similar widget.
index 07d43b0..59df451 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_SELECTABLE_H
 #define E_SOURCE_SELECTABLE_H
 
index 7bb7fb6..4e631fb 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-smime
- * @include: libedataserver/e-source-smime.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for S/MIME settings
  *
  * The #ESourceSMIME extension tracks Secure/Multipurpose Internet Mail
index 841727f..4a1659d 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_SMIME_H
 #define E_SOURCE_SMIME_H
 
index 917a568..e09f1e3 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source-webdav
- * @include: libedataserver/e-source-webdav.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: #ESource extension for WebDAV settings
  *
  * The #ESourceWebdav extension tracks settings for accessing resources
index 3871277..1e69471 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_WEBDAV_H
 #define E_SOURCE_WEBDAV_H
 
index 62a7a9a..4e668fd 100644 (file)
@@ -18,7 +18,7 @@
 
 /**
  * SECTION: e-source
- * @include: libedataserver/e-source.h
+ * @include: libedataserver/libedataserver.h
  * @short_description: Hierarchical data sources
  *
  * An #ESource (or "data source") is a description of a file or network
index df2b520..8e42ef5 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_H
 #define E_SOURCE_H
 
index 78a5a8d..a791856 100644 (file)
@@ -8,6 +8,10 @@
  * (C) 2001 Ximian, Inc.
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_TIME_UTILS_H
 #define E_TIME_UTILS_H
 
index 7286d73..a0b80c7 100644 (file)
  * Author: Dan Winship <danw@ximian.com>
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_UID_H
 #define E_UID_H
 
index 168cbae..783bb2d 100644 (file)
  * USA.
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_URL_H
 #define E_URL_H
 
index 0150f06..88c6821 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_XML_HASH_UTILS_H
 #define E_XML_HASH_UTILS_H
 
index cda2b1c..663671c 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
+#error "Only <libedataserver/libedataserver.h> should be included directly."
+#endif
+
 #ifndef E_XML_UTILS_H
 #define E_XML_UTILS_H
 
diff --git a/libedataserver/libedataserver.h b/libedataserver/libedataserver.h
new file mode 100644 (file)
index 0000000..98d999d
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ * libedataserver.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef LIBEDATASERVER_H
+#define LIBEDATASERVER_H
+
+#define __LIBEDATASERVER_H_INSIDE__
+
+#include <libedataserver/e-categories.h>
+#include <libedataserver/e-client.h>
+#include <libedataserver/e-credentials.h>
+#include <libedataserver/e-data-server-util.h>
+#include <libedataserver/e-debug-log.h>
+#include <libedataserver/e-flag.h>
+#include <libedataserver/e-gdbus-marshallers.h>
+#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/e-iterator.h>
+#include <libedataserver/e-list-iterator.h>
+#include <libedataserver/e-list.h>
+#include <libedataserver/e-memory.h>
+#include <libedataserver/e-operation-pool.h>
+#include <libedataserver/e-proxy.h>
+#include <libedataserver/e-sexp.h>
+#include <libedataserver/e-source-address-book.h>
+#include <libedataserver/e-source-alarms.h>
+#include <libedataserver/e-source-authentication.h>
+#include <libedataserver/e-source-autocomplete.h>
+#include <libedataserver/e-source-backend.h>
+#include <libedataserver/e-source-calendar.h>
+#include <libedataserver/e-source-camel.h>
+#include <libedataserver/e-source-collection.h>
+#include <libedataserver/e-source-enums.h>
+#include <libedataserver/e-source-enumtypes.h>
+#include <libedataserver/e-source-extension.h>
+#include <libedataserver/e-source-goa.h>
+#include <libedataserver/e-source-mail-account.h>
+#include <libedataserver/e-source-mail-composition.h>
+#include <libedataserver/e-source-mail-identity.h>
+#include <libedataserver/e-source-mail-signature.h>
+#include <libedataserver/e-source-mail-submission.h>
+#include <libedataserver/e-source-mail-transport.h>
+#include <libedataserver/e-source-mdn.h>
+#include <libedataserver/e-source-offline.h>
+#include <libedataserver/e-source-openpgp.h>
+#include <libedataserver/e-source-refresh.h>
+#include <libedataserver/e-source-registry.h>
+#include <libedataserver/e-source-security.h>
+#include <libedataserver/e-source-selectable.h>
+#include <libedataserver/e-source-smime.h>
+#include <libedataserver/e-source-webdav.h>
+#include <libedataserver/e-source.h>
+#include <libedataserver/e-time-utils.h>
+#include <libedataserver/e-uid.h>
+#include <libedataserver/e-url.h>
+#include <libedataserver/e-xml-hash-utils.h>
+#include <libedataserver/e-xml-utils.h>
+#include <libedataserver/eds-version.h>
+
+#undef __LIBEDATASERVER_H_INSIDE__
+
+#endif /* LIBEDATASERVER_H */
+
index 2b5d51f..28ea8b3 100644 (file)
@@ -9,6 +9,7 @@ CPPFLAGS = \
        -I$(top_builddir)/addressbook           \
        -I$(top_srcdir)/calendar                \
        -I$(top_builddir)/calendar              \
+       -DLIBEDATASERVERUI_COMPILATION          \
        -DG_LOG_DOMAIN=\"e-data-server-ui\"     \
        -DE_DATA_SERVER_UI_UIDIR=\""$(uidir)"\" \
        $(E_DATA_SERVER_UI_CFLAGS)              \
@@ -19,6 +20,7 @@ CPPFLAGS = \
 lib_LTLIBRARIES = libedataserverui-3.0.la
 
 libedataserveruiinclude_HEADERS =      \
+       libedataserverui.h              \
        e-categories-dialog.h           \
        e-categories-editor.h           \
        e-categories-selector.h         \
index c35ad0d..99b5973 100644 (file)
 #include <string.h>
 #include <gtk/gtk.h>
 #include <glib/gi18n-lib.h>
-#include <libebook/e-book.h>
+
 #include <libedataserverui/e-passwords.h>
-#include <libedataserver/e-url.h>
-#include <libedataserver/e-source-authentication.h>
+
 #include "e-book-auth-util.h"
 
 typedef struct {
index ed3514b..0313c6b 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_BOOK_AUTH_UTIL_H
 #define E_BOOK_AUTH_UTIL_H
 
 #ifndef E_BOOK_DISABLE_DEPRECATED
 
 #include <gtk/gtk.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 G_BEGIN_DECLS
 
index 89e8d68..aff1912 100644 (file)
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #include <glib/gi18n-lib.h>
-#include "libedataserver/e-categories.h"
-#include "libedataserver/libedataserver-private.h"
+
+#include <libedataserver/libedataserver.h>
+#include <libedataserver/libedataserver-private.h>
+
 #include "e-categories-dialog.h"
 #include "e-categories-editor.h"
 #include "e-categories-selector.h"
index dd306b3..a2d0511 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_CATEGORIES_DIALOG_H
 #define E_CATEGORIES_DIALOG_H
 
index f86d059..9080322 100644 (file)
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #include <glib/gi18n-lib.h>
-#include "libedataserver/e-categories.h"
-#include "libedataserver/libedataserver-private.h"
+
+#include <libedataserver/libedataserver.h>
+#include <libedataserver/libedataserver-private.h>
+
 #include "e-categories-editor.h"
 #include "e-categories-selector.h"
 #include "e-category-completion.h"
index 02a3951..b088348 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_CATEGORIES_EDITOR_H
 #define E_CATEGORIES_EDITOR_H
 
index 9fd1677..9ebb00e 100644 (file)
@@ -19,7 +19,9 @@
 
 #include <config.h>
 #include <glib/gi18n-lib.h>
-#include "libedataserver/e-categories.h"
+
+#include <libedataserver/libedataserver.h>
+
 #include "e-categories-selector.h"
 #include "e-data-server-ui-marshal.h"
 
index acb93c0..ac06ac8 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_CATEGORIES_SELECTOR_H
 #define E_CATEGORIES_SELECTOR_H
 
index 6ab1406..095df50 100644 (file)
@@ -23,7 +23,8 @@
 
 #include <string.h>
 #include <glib/gi18n-lib.h>
-#include <libedataserver/e-categories.h>
+
+#include <libedataserver/libedataserver.h>
 
 #define E_CATEGORY_COMPLETION_GET_PRIVATE(obj) \
        (G_TYPE_INSTANCE_GET_PRIVATE \
index db32370..397d47a 100644 (file)
  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_CATEGORY_COMPLETION_H
 #define E_CATEGORY_COMPLETION_H
 
index 03d4e47..3f83f0b 100644 (file)
@@ -23,7 +23,9 @@
 #include <string.h>
 #include <gtk/gtk.h>
 #include <glib/gi18n-lib.h>
-#include "libedataserver/e-categories.h"
+
+#include <libedataserver/libedataserver.h>
+
 #include "e-category-editor.h"
 
 #define E_CATEGORY_EDITOR_GET_PRIVATE(obj) \
index e17290b..5ca0b1c 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_CATEGORY_EDITOR_H
 #define E_CATEGORY_EDITOR_H
 
index 0e0da70..0c3315f 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef _E_CELL_RENDERER_COLOR_H_
 #define _E_CELL_RENDERER_COLOR_H_
 
index ca17864..e920b79 100644 (file)
 #include <gtk/gtk.h>
 #include <libsoup/soup.h>
 
-#include <libedataserver/e-client.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libebook/e-book-client.h>
-#include <libecal/e-cal-client.h>
+#include <libebook/libebook.h>
+#include <libecal/libecal.h>
 
-#include "libedataserver/e-client-private.h"
+#include <libedataserver/e-client-private.h>
 
 #include "e-passwords.h"
 #include "e-client-utils.h"
index 048abe1..3dbba31 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_CLIENT_UTILS_H
 #define E_CLIENT_UTILS_H
 
 #include <gtk/gtk.h>
-
-#include <libedataserver/e-client.h>
+#include <libedataserver/libedataserver.h>
 
 G_BEGIN_DECLS
 
index 9c81cd1..5aa4ce9 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <string.h>
 #include <glib/gi18n-lib.h>
+
 #include "e-contact-store.h"
 
 #define ITER_IS_VALID(contact_store, iter) \
index 645df62..86dbe49 100644 (file)
  * Authors: Hans Petter Jansson <hpj@novell.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_CONTACT_STORE_H
 #define E_CONTACT_STORE_H
 
 #include <gtk/gtk.h>
-#include <libebook/e-contact.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-client-view.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 
 /* Standard GObject macros */
 #define E_TYPE_CONTACT_STORE \
index 80e681c..1f9309e 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <string.h>
 #include <glib/gi18n-lib.h>
+
 #include "e-destination-store.h"
 
 #define ITER_IS_VALID(destination_store, iter) \
index 67f2a79..3d18b87 100644 (file)
  * Authors: Hans Petter Jansson <hpj@novell.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_DESTINATION_STORE_H
 #define E_DESTINATION_STORE_H
 
 #include <gtk/gtk.h>
-#include <libebook/e-destination.h>
+#include <libebook/libebook.h>
 
 /* Standard GObject macros */
 #define E_TYPE_DESTINATION_STORE \
index b12aaa4..5fd7f0b 100644 (file)
 #include <gdk/gdkkeysyms.h>
 #include <glib/gi18n-lib.h>
 
-#include <libedataserver/e-sexp.h>
-#include <libedataserver/e-categories.h>
-#include <libedataserver/e-source-address-book.h>
-
-#include <libebackend/e-extensible.h>
-
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-client-view.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
+#include <libebackend/libebackend.h>
 
 #include "e-source-combo-box.h"
 #include "e-destination-store.h"
index 35d93b3..ee78ff9 100644 (file)
  * Authors: Hans Petter Jansson <hpj@novell.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_NAME_SELECTOR_DIALOG_H
 #define E_NAME_SELECTOR_DIALOG_H
 
 #include <gtk/gtk.h>
-#include <libedataserver/e-source-registry.h>
+#include <libedataserver/libedataserver.h>
+
 #include <libedataserverui/e-contact-store.h>
 #include <libedataserverui/e-name-selector-model.h>
 
index c4eeffe..3abec38 100644 (file)
 #include <gconf/gconf-client.h>
 
 #include <camel/camel.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-contact.h>
-#include <libebook/e-destination.h>
+#include <libebackend/libebackend.h>
 
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-autocomplete.h>
-#include <libedataserver/e-source-registry.h>
-
-#include <libedataserver/e-sexp.h>
-#include <libebackend/e-extensible.h>
 #include <libedataserverui/e-client-utils.h>
 
 #include "e-name-selector-entry.h"
index b31430a..ce77a67 100644 (file)
  * Authors: Hans Petter Jansson <hpj@novell.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_NAME_SELECTOR_ENTRY_H
 #define E_NAME_SELECTOR_ENTRY_H
 
 #include <gtk/gtk.h>
-#include <libebook/e-contact.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebook/libebook.h>
+
 #include <libedataserverui/e-contact-store.h>
 #include <libedataserverui/e-destination-store.h>
 #include <libedataserverui/e-tree-model-generator.h>
index 33161ea..13a7d04 100644 (file)
 #include <gdk/gdkkeysyms.h>
 #include <glib/gi18n-lib.h>
 
-#include <libebook/e-book.h>
-#include <libebook/e-contact.h>
-#include <libebook/e-destination.h>
 #include <libedataserverui/e-book-auth-util.h>
-#include "libedataserver/e-sexp.h"
 #include <libedataserverui/e-data-server-ui-marshal.h>
 #include <libedataserverui/e-name-selector-entry.h>
+
 #include "e-name-selector-list.h"
 
 #define E_NAME_SELECTOR_LIST_GET_PRIVATE(obj) \
index c863eab..0dd4234 100644 (file)
  *
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_NAME_SELECTOR_LIST_H
 #define E_NAME_SELECTOR_LIST_H
 
 #include <gtk/gtk.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
+
 #include <libedataserverui/e-contact-store.h>
 #include <libedataserverui/e-destination-store.h>
 #include <libedataserverui/e-tree-model-generator.h>
index 5f14a8e..ac86ed4 100644 (file)
  * Authors: Hans Petter Jansson <hpj@novell.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_NAME_SELECTOR_MODEL_H
 #define E_NAME_SELECTOR_MODEL_H
 
index 9b19445..effd8fe 100644 (file)
 #include <string.h>
 #include <gtk/gtk.h>
 #include <glib/gi18n-lib.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-contact.h>
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-autocomplete.h>
+
+#include <libebook/libebook.h>
+
 #include <libedataserverui/e-client-utils.h>
 #include <libedataserverui/e-contact-store.h>
 #include <libedataserverui/e-destination-store.h>
index 7449f7d..40ad1f9 100644 (file)
  * Authors: Hans Petter Jansson <hpj@novell.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_NAME_SELECTOR_H
 #define E_NAME_SELECTOR_H
 
-#include <libedataserver/e-source-registry.h>
+#include <libedataserver/libedataserver.h>
+
 #include <libedataserverui/e-name-selector-model.h>
 #include <libedataserverui/e-name-selector-dialog.h>
 #include <libedataserverui/e-name-selector-entry.h>
index f13e314..96ce70e 100644 (file)
@@ -48,9 +48,9 @@
 #include <glib/gi18n-lib.h>
 #include <gnome-keyring.h>
 
+#include <libedataserver/libedataserver.h>
+
 #include "e-passwords.h"
-#include "libedataserver/e-flag.h"
-#include "libedataserver/e-url.h"
 
 #define d(x)
 
index 870e5f1..0c3b857 100644 (file)
  * USA.
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef EDS_DISABLE_DEPRECATED
 
 #ifndef _E_PASSWORD_H_
index ee69b93..078143d 100644 (file)
@@ -22,8 +22,6 @@
 #include <config.h>
 #endif
 
-#include <libedataserver/e-source-selectable.h>
-
 #include "e-source-combo-box.h"
 #include "e-cell-renderer-color.h"
 
index 1083891..94d92e7 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_COMBO_BOX_H
 #define E_SOURCE_COMBO_BOX_H
 
 #include <gtk/gtk.h>
-#include <libedataserver/e-source-registry.h>
+#include <libedataserver/libedataserver.h>
 
 #define E_TYPE_SOURCE_COMBO_BOX \
        (e_source_combo_box_get_type ())
index 86eb959..3ebb3b7 100644 (file)
  * Author: Rodrigo Moya <rodrigo@novell.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_SELECTOR_DIALOG_H
 #define E_SOURCE_SELECTOR_DIALOG_H
 
index fb1af20..1cb50d6 100644 (file)
@@ -27,8 +27,6 @@
 
 #include <string.h>
 
-#include <libedataserver/e-source-selectable.h>
-
 #include "e-cell-renderer-color.h"
 #include "e-data-server-ui-marshal.h"
 #include "e-source-selector.h"
index af1e247..c595218 100644 (file)
  * Author: Ettore Perazzoli <ettore@ximian.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_SOURCE_SELECTOR_H
 #define E_SOURCE_SELECTOR_H
 
 #include <gtk/gtk.h>
-#include <libedataserver/e-source-registry.h>
+#include <libedataserver/libedataserver.h>
 
 /* Standard GObject macros */
 #define E_TYPE_SOURCE_SELECTOR \
index 62d5cd6..3e693e8 100644 (file)
  * Authors: Hans Petter Jansson <hpj@novell.com>
  */
 
+#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
+#error "Only <libedataserverui/libedataserverui.h> should be included directly."
+#endif
+
 #ifndef E_TREE_MODEL_GENERATOR_H
 #define E_TREE_MODEL_GENERATOR_H
 
diff --git a/libedataserverui/gtk-compat.h b/libedataserverui/gtk-compat.h
deleted file mode 100644 (file)
index c24f8c6..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef __GTK_COMPAT_H__
-#define __GTK_COMPAT_H__
-
-#include <gtk/gtk.h>
-
-/* Provide a GTK+ compatibility layer. */
-
-#endif /* __GTK_COMPAT_H__ */
diff --git a/libedataserverui/libedataserverui.h b/libedataserverui/libedataserverui.h
new file mode 100644 (file)
index 0000000..32865a1
--- /dev/null
@@ -0,0 +1,50 @@
+/*
+ * libedataserverui.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef LIBEDATASERVERUI_H
+#define LIBEDATASERVERUI_H
+
+#define __LIBEDATASERVERUI_H_INSIDE__
+
+#include <libedataserver/libedataserver.h>
+
+#include <libedataserverui/e-book-auth-util.h>
+#include <libedataserverui/e-categories-dialog.h>
+#include <libedataserverui/e-categories-editor.h>
+#include <libedataserverui/e-categories-selector.h>
+#include <libedataserverui/e-category-completion.h>
+#include <libedataserverui/e-category-editor.h>
+#include <libedataserverui/e-cell-renderer-color.h>
+#include <libedataserverui/e-client-utils.h>
+#include <libedataserverui/e-contact-store.h>
+#include <libedataserverui/e-destination-store.h>
+#include <libedataserverui/e-name-selector-dialog.h>
+#include <libedataserverui/e-name-selector-entry.h>
+#include <libedataserverui/e-name-selector-list.h>
+#include <libedataserverui/e-name-selector-model.h>
+#include <libedataserverui/e-name-selector.h>
+#include <libedataserverui/e-passwords.h>
+#include <libedataserverui/e-source-combo-box.h>
+#include <libedataserverui/e-source-selector-dialog.h>
+#include <libedataserverui/e-source-selector.h>
+#include <libedataserverui/e-tree-model-generator.h>
+
+#undef __LIBEDATASERVERUI_H_INSIDE__
+
+#endif /* LIBEDATASERVERUI_H */
+
index 4ba57c4..39495b6 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "e-cache-reaper-utils.h"
 
-#include <libedataserver/e-data-server-util.h>
+#include <libedataserver/libedataserver.h>
 
 #define REAPING_DIRECTORY_NAME ".reaping"
 
index 39c4142..92d84a1 100644 (file)
 #include <time.h>
 #include <glib/gstdio.h>
 
-#include <libedataserver/e-data-server-util.h>
-
-#include <libebackend/e-extension.h>
-#include <libebackend/e-source-registry-server.h>
+#include <libebackend/libebackend.h>
 
 #include "e-cache-reaper-utils.h"
 
index 3da1678..deec92d 100644 (file)
 #include <config.h>
 #include <glib/gi18n-lib.h>
 
-#include <libedataserver/e-uid.h>
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-calendar.h>
-#include <libedataserver/e-source-camel.h>
-#include <libedataserver/e-source-collection.h>
-#include <libedataserver/e-source-mail-account.h>
-#include <libedataserver/e-source-mail-identity.h>
-#include <libedataserver/e-source-mail-transport.h>
-#include <libedataserver/e-source-security.h>
-#include <libedataserver/e-source-webdav.h>
-
-#include <libebackend/e-collection-backend.h>
-#include <libebackend/e-collection-backend-factory.h>
-#include <libebackend/e-server-side-source.h>
-#include <libebackend/e-source-registry-server.h>
+#include <libebackend/libebackend.h>
 
 /* Standard GObject macros */
 #define E_TYPE_GOOGLE_BACKEND \
index d387b4d..375a0f2 100644 (file)
@@ -32,7 +32,7 @@
 #include <libsoup/soup.h>
 #include <libxml/xmlIO.h>
 
-#include <libedataserver/e-data-server-util.h>
+#include <libedataserver/libedataserver.h>
 
 #include "goaewsclient.h"
 
index 9bcede7..6549fd6 100644 (file)
 #include <goa/goa.h>
 #include <gnome-keyring.h>
 
-#include <libedataserver/e-uid.h>
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-camel.h>
-#include <libedataserver/e-source-collection.h>
-#include <libedataserver/e-source-goa.h>
-#include <libedataserver/e-source-mail-account.h>
-#include <libedataserver/e-source-mail-identity.h>
-#include <libedataserver/e-source-mail-submission.h>
-#include <libedataserver/e-source-mail-transport.h>
-
-#include <libebackend/e-extension.h>
-#include <libebackend/e-server-side-source.h>
-#include <libebackend/e-source-registry-server.h>
+#include <libebackend/libebackend.h>
 
 #include "goaewsclient.h"
 
index bff98f3..78ff77c 100644 (file)
 #include <config.h>
 #include <glib/gi18n-lib.h>
 
-#include <libedataserver/e-uid.h>
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-calendar.h>
-#include <libedataserver/e-source-camel.h>
-#include <libedataserver/e-source-collection.h>
-#include <libedataserver/e-source-mail-account.h>
-#include <libedataserver/e-source-mail-identity.h>
-#include <libedataserver/e-source-mail-transport.h>
-#include <libedataserver/e-source-security.h>
-#include <libedataserver/e-source-webdav.h>
-
-#include <libebackend/e-collection-backend.h>
-#include <libebackend/e-collection-backend-factory.h>
-#include <libebackend/e-server-side-source.h>
-#include <libebackend/e-source-registry-server.h>
+#include <libebackend/libebackend.h>
 
 /* Standard GObject macros */
 #define E_TYPE_YAHOO_BACKEND \
index beafb50..4c060bc 100644 (file)
@@ -22,6 +22,7 @@ evolution_addressbook_factory_CPPFLAGS = \
        $(GNOME_KEYRING_CFLAGS) \
        $(FACTORY_GTK_CFLAGS) \
        $(DBUS_GLIB_CFLAGS) \
+       $(CAMEL_CFLAGS) \
        $(SOUP_CFLAGS) \
        $(GOA_CFLAGS) \
        $(CODE_COVERAGE_CFLAGS) \
@@ -40,6 +41,7 @@ evolution_addressbook_factory_LDADD = \
        $(GNOME_KEYRING_LIBS) \
        $(FACTORY_GTK_LIBS) \
        $(DBUS_GLIB_LIBS) \
+       $(CAMEL_LIBS) \
        $(SOUP_LIBS) \
        $(GOA_LIBS) \
        $(NULL)
index 9450c81..f99da5c 100644 (file)
@@ -38,8 +38,7 @@
 #endif
 #endif
 
-#include <libedata-book/e-data-book-factory.h>
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedata-book/libedata-book.h>
 
 static gboolean opt_keep_running = FALSE;
 static gboolean opt_wait_for_client = FALSE;
index 6c205d5..91cdccd 100644 (file)
@@ -22,6 +22,7 @@ evolution_calendar_factory_CPPFLAGS = \
        $(GNOME_KEYRING_CFLAGS) \
        $(FACTORY_GTK_CFLAGS) \
        $(DBUS_GLIB_CFLAGS) \
+       $(CAMEL_CFLAGS) \
        $(SOUP_CFLAGS) \
        $(CODE_COVERAGE_CFLAGS) \
        $(NULL)
@@ -39,6 +40,7 @@ evolution_calendar_factory_LDADD = \
        $(GNOME_KEYRING_LIBS) \
        $(FACTORY_GTK_LIBS) \
        $(DBUS_GLIB_LIBS) \
+       $(CAMEL_CFLAGS) \
        $(SOUP_LIBS) \
        $(NULL)
 
index aa76072..36fa064 100644 (file)
@@ -42,8 +42,7 @@
 #endif
 #endif
 
-#include <libedata-cal/e-data-cal-factory.h>
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedata-cal/libedata-cal.h>
 
 static gboolean opt_keep_running = FALSE;
 static gboolean opt_wait_for_client = FALSE;
index 0c320a0..6b647ea 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <errno.h>
 #include <glib/gstdio.h>
-#include <libedataserver/e-data-server-util.h>
+#include <libedataserver/libedataserver.h>
 
 /* Forward Declarations */
 void evolution_source_registry_migrate_basedir (void);
index 3b304b7..d21caa2 100644 (file)
 #include <libsoup/soup.h>
 #include <gnome-keyring.h>
 
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-alarms.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-source-autocomplete.h>
-#include <libedataserver/e-source-calendar.h>
-#include <libedataserver/e-source-camel.h>
-#include <libedataserver/e-source-collection.h>
-#include <libedataserver/e-source-mail-account.h>
-#include <libedataserver/e-source-mail-composition.h>
-#include <libedataserver/e-source-mail-identity.h>
-#include <libedataserver/e-source-mail-signature.h>
-#include <libedataserver/e-source-mail-submission.h>
-#include <libedataserver/e-source-mail-transport.h>
-#include <libedataserver/e-source-mdn.h>
-#include <libedataserver/e-source-offline.h>
-#include <libedataserver/e-source-openpgp.h>
-#include <libedataserver/e-source-refresh.h>
-#include <libedataserver/e-source-security.h>
-#include <libedataserver/e-source-smime.h>
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-uid.h>
-
-#include <libebackend/e-server-side-source.h>
+#include <libebackend/libebackend.h>
 
 /* These constants are collected from various e-source-*.h files
  * throughout evolution-data-server and known extension packages. */
index 56b9a21..2c1a0bc 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdlib.h>
 #include <glib/gi18n.h>
 
-#include <libebackend/e-source-registry-server.h>
+#include <libebackend/libebackend.h>
 
 /* Forward Declarations */
 void evolution_source_registry_migrate_basedir (void);
index 1094f40..543593e 100644 (file)
@@ -10,6 +10,7 @@ TEST_CPPFLAGS =                                       \
        -I$(top_builddir)/addressbook           \
        -DSRCDIR=\""$(srcdir)"\"                \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS)         \
+       $(CAMEL_CFLAGS)                         \
        $(NULL)
 
 TEST_LIBS =                                    \
@@ -33,11 +34,13 @@ libebook_test_utils_la_CPPFLAGS = \
        -I$(top_builddir)/addressbook   \
        -DSRCDIR=\""$(srcdir)"\"        \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
+       $(CAMEL_CFLAGS) \
        $(NULL)
 
 libebook_test_utils_la_LIBADD = \
        $(top_builddir)/addressbook/libebook/libebook-1.2.la    \
        $(EVOLUTION_ADDRESSBOOK_LIBS)                           \
+       $(CAMEL_LIBS) \
        $(NULL)
 
 TEST_CPPFLAGS =                                        \
index 1ea89ba..670029b 100644 (file)
@@ -10,11 +10,13 @@ libclient_test_utils_la_CPPFLAGS =                          \
        -I$(top_builddir)/addressbook                           \
        -DSRCDIR=\""$(srcdir)"\"                                \
        $(EVOLUTION_ADDRESSBOOK_CFLAGS)                         \
+       $(CAMEL_CFLAGS)                                         \
        $(NULL)
 
 libclient_test_utils_la_LIBADD =                               \
        $(top_builddir)/addressbook/libebook/libebook-1.2.la    \
        $(EVOLUTION_ADDRESSBOOK_LIBS)                           \
+       $(CAMEL_LIBS)                                           \
        $(NULL)
 
 # Should be kept ordered approximately from least to most difficult/complex
index 289a969..e84a473 100644 (file)
@@ -2,10 +2,8 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <libedataserver/e-source-registry.h>
-#include <libedataserver/e-source-address-book.h>
 
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/libedataserver.h>
 
 #include "client-test-utils.h"
 
index 953cc86..e933f23 100644 (file)
@@ -1,8 +1,7 @@
 #ifndef CLIENT_TEST_UTILS_H
 #define CLIENT_TEST_UTILS_H
 
-#include <libebook/e-book-client.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 void report_error (const gchar *operation, GError **error);
 void print_email (EContact *contact);
index fb66f18..fc784e2 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index d4833e3..1e5b250 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index a1425e6..fbc1c3b 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index e46ad42..8c27483 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 9d56b2d..d13e863 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index eef85ef..55cafae 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 9705176..d9d0aae 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index f3c44f7..0df821d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 8dd8019..19f9029 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index c624502..9ffaef3 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index d18be19..bc1c5c5 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 904a2e4..a945d75 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index e915c75..cdba188 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index c42611a..85ab904 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 42ebd97..02214ce 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 5a9e287..b2bc80c 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index eeec99b..1a1b4cc 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 4084c11..954de03 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 9fd8899..1af2bba 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index 3a8e3f5..d0e2666 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index fd24b68..c4b4782 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index e87bdf6..7a83811 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index dbcc4a6..21d78f5 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index ec54a8e..0de6380 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 
 #include "client-test-utils.h"
 
index a49aac4..699074a 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <gio/gio.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index ad1be19..d8d00cd 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _EBOOK_TEST_UTILS_H
 #define _EBOOK_TEST_UTILS_H
 
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #define EBOOK_TEST_UTILS_DATA_DIR "data"
 #define EBOOK_TEST_UTILS_VCARDS_DIR "vcards"
index be96521..d35a046 100644 (file)
@@ -1,6 +1,4 @@
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 #define BATCH_SIZE 50
 
index d65b217..4c5b2ea 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdlib.h>
 #include <string.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 gint
 main (gint argc,
index 424c5bf..a7cfad2 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index b7ccabf..b640d9c 100644 (file)
@@ -1,5 +1,5 @@
 #include <stdlib.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 gint
 main (gint argc,
index d79719c..f489380 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 7d3b018..b78dda6 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 static GMainLoop *loop;
 
index 0fcf16c..2c12c5c 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 3c78074..c4355ac 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 0bb2005..ba3902b 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 6c3cea3..5f6ed50 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index f9a8500..42cce08 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 9248478..5fcef1f 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index d2b576d..4a85f52 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index faa76c9..98062d4 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 69d09a2..fe71c3c 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index c4d0e27..eabe89e 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 876e62a..42ec25c 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 5b45955..1d1f70d 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 4086bd6..155f2cc 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 6d54f83..8512e67 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index e9a0d0b..91c5375 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 #include "ebook-test-utils.h"
 
index 32dfaae..0411134 100644 (file)
@@ -1,5 +1,5 @@
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 gint
 main (gint argc, gchar **argv)
index e4cd2af..3cd0e49 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdlib.h>
 #include <string.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 static const gchar *photo_data =
        "/9j/4AAQSkZJRgABAQEARwBHAAD//gAXQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q/9sAQwAIBgYHB"
index 05232dc..791383c 100644 (file)
@@ -1,5 +1,5 @@
 #include <string.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
 
 #define QUERY_STRING1
 #define QUERY_STRING2
index 0b1da27..fb84bb8 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 gint
 main (gint argc,
index c456eb7..5dec95c 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 gint
 main (gint argc,
index 022629c..1c2c296 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libebook/e-book.h>
+#include <libebook/libebook.h>
 
 static void
 print_contact (EContact *contact)
index bd46aff..2df44e6 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdlib.h>
 #include <string.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 #define TEST_ID "test-uid"
 
index 538b791..d994987 100644 (file)
@@ -1,5 +1,5 @@
 #include <stdlib.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 gint
 main (gint argc,
index 24c5c33..3f70ec0 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdlib.h>
 #include <string.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 /* TEL;WORK:... should map to PHONE_BUSINESS
  * TEL;FAX:... should map to OTHER_FAX. */
index 82148e3..685f3f2 100644 (file)
@@ -1,5 +1,4 @@
-#include <libebook/e-vcard.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
 
 static gboolean
 compare_single_value (EVCard *vcard,
index 7b1832a..bc20146 100644 (file)
@@ -5,12 +5,14 @@ dump_vcard_CPPFLAGS = \
        -I$(top_builddir)               \
        -I$(top_srcdir)/addressbook     \
        -I$(top_builddir)/addressbook   \
-       $(EVOLUTION_ADDRESSBOOK_CFLAGS)
+       $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
+       $(CAMEL_CFLAGS)
 
 dump_vcard_LDADD =                                             \
        $(top_builddir)/addressbook/libebook/libebook-1.2.la    \
        $(top_builddir)/libedataserver/libedataserver-1.2.la    \
-       $(EVOLUTION_ADDRESSBOOK_LIBS)
+       $(EVOLUTION_ADDRESSBOOK_LIBS)                           \
+       $(CAMEL_LIBS)
 
 EXTRA_DIST=1.vcf 2.vcf 3.vcf 4.vcf 5.vcf 6.vcf 7.vcf 8.vcf 9.vcf 10.vcf 11.vcf
 
index 1b8bdbe..60d7458 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdio.h>
-#include <libebook/e-vcard.h>
+#include <libebook/libebook.h>
 
 gint
 main (gint argc,
index 1b8db9a..c69d825 100644 (file)
@@ -14,11 +14,13 @@ libecal_test_utils_la_CPPFLAGS = \
        -I$(top_builddir)/calendar                      \
        $(LIBICAL_CFLAGS)                               \
        $(EVOLUTION_CALENDAR_CFLAGS)                    \
+       $(CAMEL_CFLAGS)                                 \
        $(NULL)
 
 libecal_test_utils_la_LIBADD = \
        $(top_builddir)/calendar/libecal/libecal-1.2.la         \
        $(EVOLUTION_CALENDAR_LIBS)                              \
+       $(CAMEL_LIBS)                                           \
        $(NULL)
 
 TEST_ECAL_LIBS = \
index af2b893..a3f986b 100644 (file)
@@ -10,11 +10,13 @@ libclient_test_utils_la_CPPFLAGS =                          \
        -I$(top_builddir)/calendar                              \
        -DSRCDIR=\""$(srcdir)"\"                                \
        $(EVOLUTION_CALENDAR_CFLAGS)                            \
+       $(CAMEL_CFLAGS)                                         \
        $(NULL)
 
 libclient_test_utils_la_LIBADD =                               \
        $(top_builddir)/calendar/libecal/libecal-1.2.la         \
        $(EVOLUTION_CALENDAR_LIBS)                              \
+       $(CAMEL_LIBS)                                           \
        $(NULL)
 
 # ordered by relative complexity
index 44eacde..12a2aa2 100644 (file)
@@ -1,10 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdio.h>
-#include <libedataserver/e-source-registry.h>
-#include <libedataserver/e-source-calendar.h>
-
-#include <libedataserver/e-gdbus-templates.h>
+#include <libedataserver/libedataserver.h>
 
 #include "client-test-utils.h"
 
index 9c10538..c7b6836 100644 (file)
@@ -1,8 +1,7 @@
 #ifndef CLIENT_TEST_UTILS_H
 #define CLIENT_TEST_UTILS_H
 
-#include <libecal/e-cal-client.h>
-#include <libedataserver/e-source-registry.h>
+#include <libecal/libecal.h>
 
 void print_ecomp (ECalComponent *ecalcomp);
 void print_icomp (icalcomponent *icalcomp);
index 0ca13ba..b191f9f 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index 62d3a64..322a951 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index 5ae6e7f..095a403 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index 2875d39..92b8ba6 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 
 #include "client-test-utils.h"
 
index 2186638..6447c00 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index bc37b8b..3c46ef0 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
-#include <libecal/e-cal-time-util.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index 74301d0..2144783 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index d8a7692..65b2f5b 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "client-test-utils.h"
 
index 0537f6c..32c8a3c 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index 9417ef6..5305364 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index b8284e9..e5b9d97 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index fd7fe8f..7c49f36 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index c52b5e0..0c8b24b 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index eb5eb3d..7333ff5 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index e772353..3099d15 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index 429005b..4fbc83a 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "client-test-utils.h"
index 111d2ad..b4eddc9 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 
 #include "client-test-utils.h"
 
index 1c098db..894a72f 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 
 #include "client-test-utils.h"
 
index bdc173b..cc0d4da 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 
 #include "client-test-utils.h"
 
index 716b270..427e05d 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal-client.h>
+#include <libecal/libecal.h>
 
 #include "client-test-utils.h"
 
index e42d8c3..4d62d64 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <stdlib.h>
 #include <gio/gio.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index 2d440cc..f72b1ba 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _ECAL_TEST_UTILS_H
 #define _ECAL_TEST_UTILS_H
 
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 typedef struct {
         GSourceFunc  cb;
index 488ffb5..42f7181 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index 60368b7..a174a14 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index db997c1..197de66 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index cb033de..baf37b8 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index 0e3285c..27b975d 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index ff4d257..fca611e 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index d506565..13401f6 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index 2f90401..c43721c 100644 (file)
@@ -1,8 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
-#include <libecal/e-cal-time-util.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index d67cc55..6c74346 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index 7c86cf0..40063a1 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index 3c2242f..aa40022 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index 2c74418..2e9fe8b 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index 08128d4..b8ed566 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index ae7477a..9ef77ce 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index ec41405..ad31b97 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index 3438f92..618ce13 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index 4b376d6..b58b07b 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index 5df5329..a21f3ef 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index 637e37e..553e6d5 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 #include "ecal-test-utils.h"
index ae22f09..0929005 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index 9040b80..6025cf5 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index a01f8c5..5569470 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index c9f90cb..e7f9d70 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index f8c87f7..30c53be 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 #include "ecal-test-utils.h"
 
index c4b1fb7..ba0711f 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include <glib/gi18n.h>
-#include <libecal/e-cal.h>
-#include <libecal/e-cal-component.h>
-#include <libecal/e-cal-time-util.h>
-#include <libedataserver/e-data-server-util.h>
+#include <libecal/libecal.h>
 #include <libical/ical.h>
 
 /* start_testing_scaffold */
index ea261e1..2ec59f5 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 gint
 main (gint argc,
index 1b561ec..52c20ba 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
 #include <stdlib.h>
-#include <libecal/e-cal.h>
+#include <libecal/libecal.h>
 
 gint
 main (gint argc,
index 78af55e..e7ddfb3 100644 (file)
@@ -10,7 +10,8 @@ test_e_sexp_CPPFLAGS =                                                        \
        -I$(top_srcdir)                                                 \
        -I$(top_srcdir)/calendar                                        \
        -I$(top_builddir)/calendar                                      \
-       $(EVOLUTION_CALENDAR_CFLAGS)
+       $(EVOLUTION_CALENDAR_CFLAGS)                                    \
+       $(CAMEL_CFLAGS)
 
 test_e_sexp_LDADD =                                                    \
        $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la       \
@@ -18,7 +19,8 @@ test_e_sexp_LDADD =                                                   \
        $(top_builddir)/libebackend/libebackend-1.2.la          \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(EVOLUTION_CALENDAR_LIBS)                                      \
-       $(E_DATA_SERVER_LIBS)
+       $(E_DATA_SERVER_LIBS)                                           \
+       $(CAMEL_LIBS)
 
 test_intervaltree_SOURCES = test-intervaltree.c
 
@@ -27,14 +29,16 @@ test_intervaltree_CPPFLAGS =                                                \
        -I$(top_srcdir)                                                 \
        -I$(top_srcdir)/calendar                                        \
        -I$(top_builddir)/calendar                                      \
-       $(EVOLUTION_CALENDAR_CFLAGS)
+       $(EVOLUTION_CALENDAR_CFLAGS)                                    \
+       $(CAMEL_CFLAGS)
 
 test_intervaltree_LDADD =                                              \
        $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la       \
        $(top_builddir)/calendar/libecal/libecal-1.2.la                 \
        $(top_builddir)/libebackend/libebackend-1.2.la          \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
-       $(EVOLUTION_CALENDAR_LIBS)
+       $(EVOLUTION_CALENDAR_LIBS)                                      \
+       $(CAMEL_LIBS)
 
 test_intervaltree_coverage_SOURCES = test-intervaltree.c
 
@@ -43,7 +47,8 @@ test_intervaltree_coverage_CPPFLAGS =                                 \
        -I$(top_srcdir)                                                 \
        -I$(top_srcdir)/calendar                                        \
        -I$(top_builddir)/calendar                                      \
-       $(EVOLUTION_CALENDAR_CFLAGS)
+       $(EVOLUTION_CALENDAR_CFLAGS)                                    \
+       $(CAMEL_CFLAGS)
 
 test_intervaltree_coverage_LDADD = \
        $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la       \
@@ -51,6 +56,7 @@ test_intervaltree_coverage_LDADD = \
        $(top_builddir)/libebackend/libebackend-1.2.la          \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(EVOLUTION_CALENDAR_LIBS)                                      \
+       $(CAMEL_LIBS)                                                   \
        -lgcov
 
 .PHONY: coverage
index f2c5968..3370a73 100644 (file)
@@ -1,4 +1,4 @@
-#include <libedata-cal/e-cal-backend-sexp.h>
+#include <libedata-cal/libedata-cal.h>
 
 static void
 test_query (const gchar *query)
index 4a56131..f972315 100644 (file)
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
-#include <libecal/e-cal-recur.h>
-#include <libecal/e-cal-component.h>
 #include <libical/icalcomponent.h>
-#include <libedata-cal/e-cal-backend-intervaltree.h>
+#include <libedata-cal/libedata-cal.h>
 
 #define NUM_INTERVALS_CLOSED  100
 #define NUM_INTERVALS_OPEN  100
index 7b0c495..e24ab14 100644 (file)
@@ -19,9 +19,7 @@
 #include <string.h>
 #include <gio/gunixoutputstream.h>
 
-#include <libedataserver/e-source.h>
-#include <libedataserver/e-source-authentication.h>
-#include <libedataserver/e-uid.h>
+#include <libedataserver/libedataserver.h>
 
 #define SIMPLE_KEY_FILE \
        "[Data Source]\n" \
index 606da7d..43eb5ed 100644 (file)
@@ -22,6 +22,7 @@ TEST_EDATASERVERUI_LDFLAGS =                                          \
        $(top_builddir)/libebackend/libebackend-1.2.la                  \
        $(top_builddir)/libedataserver/libedataserver-1.2.la            \
        $(top_builddir)/libedataserverui/libedataserverui-3.0.la        \
+       $(CAMEL_LIBS)                                                   \
        $(GNOME_KEYRING_LIBS)                                           \
        $(E_DATA_SERVER_UI_LIBS)
 
index fdc68a6..de557dc 100644 (file)
@@ -16,7 +16,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#include <libedataserverui/e-category-completion.h>
+#include <libedataserverui/libedataserverui.h>
 
 static gboolean
 on_idle_create_widget (void)
index 40816ae..5be64ae 100644 (file)
@@ -21,7 +21,7 @@
  * Author: Hans Petter Jansson <hpj@novell.com>
  */
 
-#include <libedataserverui/e-contact-store.h>
+#include <libedataserverui/libedataserverui.h>
 
 static void
 entry_changed (GtkWidget *entry,
index 607178e..6f3f442 100644 (file)
  * Author: Hans Petter Jansson <hpj@novell.com>
  */
 
-#include <libedataserverui/e-name-selector-model.h>
-#include <libedataserverui/e-name-selector-dialog.h>
-#include <libedataserverui/e-name-selector-entry.h>
 #include <camel/camel.h>
+#include <libedataserverui/libedataserverui.h>
 
 static ENameSelectorDialog *name_selector_dialog;
 static GtkWidget           *name_selector_entry_window;
index 4cc913a..cbebd63 100644 (file)
@@ -23,8 +23,7 @@
 #include <config.h>
 #include <gtk/gtk.h>
 
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserverui/e-source-combo-box.h>
+#include <libedataserverui/libedataserverui.h>
 
 static const gchar *extension_name;
 
index 95a959b..7fd0075 100644 (file)
@@ -21,8 +21,7 @@
  * Author: Ettore Perazzoli <ettore@ximian.com>
  */
 
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserverui/e-source-selector.h>
+#include <libedataserverui/libedataserverui.h>
 
 static const gchar *extension_name;