summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2009-04-24 20:21:04 +0100
committerRoss Burton <ross@linux.intel.com>2009-08-17 08:17:07 +0100
commit87455a9f1fdeeff5dc69ebb55a5167fa5691a81f (patch)
tree701534fc56ca8245e6243d47f7204d2df127aa63
parente87ced6f80b4366f60d6c07249f178f1cc3bfd9b (diff)
downloadevolution-data-server-87455a9f1fdeeff5dc69ebb55a5167fa5691a81f.tar.gz
Remove addressbook/idl
-rw-r--r--addressbook/Makefile.am2
-rw-r--r--addressbook/idl/Evolution-DataServer-Addressbook.idl202
-rw-r--r--addressbook/idl/Makefile.am4
-rw-r--r--configure.ac1
4 files changed, 1 insertions, 208 deletions
diff --git a/addressbook/Makefile.am b/addressbook/Makefile.am
index 76cbb8ed5..99e40306c 100644
--- a/addressbook/Makefile.am
+++ b/addressbook/Makefile.am
@@ -1 +1 @@
-SUBDIRS = idl libebook libedata-book backends tests \ No newline at end of file
+SUBDIRS = libebook libedata-book backends
diff --git a/addressbook/idl/Evolution-DataServer-Addressbook.idl b/addressbook/idl/Evolution-DataServer-Addressbook.idl
deleted file mode 100644
index bf152dd57..000000000
--- a/addressbook/idl/Evolution-DataServer-Addressbook.idl
+++ /dev/null
@@ -1,202 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- *
- * Author:
- * Nat Friedman (nat@ximian.com)
- *
- * Copyright 2000, Ximian, Inc.
- */
-
-#include <Bonobo.idl>
-
-module GNOME {
-module Evolution {
-module Addressbook {
- typedef string ContactId;
- typedef string VCard;
- typedef sequence<VCard> VCardList;
- typedef sequence<ContactId> ContactIdList;
- typedef sequence<string> stringlist;
-
- enum BookChangeType {
- ContactAdded,
- ContactModified,
- ContactDeleted
- };
-
- struct BookChangeItem {
- BookChangeType changeType;
- VCard vcard;
- };
-
- typedef sequence<BookChangeItem> BookChangeList;
-
- enum CallStatus {
- Success,
- RepositoryOffline,
- PermissionDenied,
- ContactNotFound,
- ContactIdAlreadyExists,
- AuthenticationFailed,
- AuthenticationRequired,
- UnsupportedField,
- UnsupportedAuthenticationMethod,
- TLSNotAvailable,
- NoSuchBook,
- BookRemoved,
- OfflineUnavailable,
-
- /* These can be returned for successful searches, but
- indicate the result set was truncated */
- SearchSizeLimitExceeded,
- SearchTimeLimitExceeded,
-
- InvalidQuery,
- QueryRefused,
-
- CouldNotCancel,
-
- OtherError,
- InvalidServerVersion
-
- };
-
- typedef long BookMode;
- const BookMode MODE_LOCAL = 1 << 0;
- const BookMode MODE_REMOTE = 1 << 1;
- const BookMode MODE_ANY = 0x07;
-
- /*
- * A book view is a live view of a book. It's either a view
- * of all the contacts in the book or a view of a query. When
- * created, it will get a series of notifyContactsAdded calls
- * for all objects in the initial set. After that, it will
- * get added, removed, or changed signals whenever the book
- * changes (if it affects the set of viewed contacts.)
- */
- interface BookViewListener : Bonobo::Unknown {
- oneway void notifyContactsAdded (in VCardList vcards);
- oneway void notifyContactsRemoved (in ContactIdList ids);
- oneway void notifyContactsChanged (in VCardList vcards);
- oneway void notifySequenceComplete (in CallStatus status);
- oneway void notifyProgress (in string message, in short percent);
- };
-
- interface BookView : Bonobo::Unknown {
- oneway void start ();
- oneway void stop ();
-
- oneway void dispose ();
- };
-
- interface Book : Bonobo::Unknown {
-
- /*
- * Opening/creating addressbooks.
- */
- oneway void open (in long opid, in boolean only_if_exists);
-
- /*
- * Removing addressbooks.
- */
- oneway void remove (in long opid);
-
- /*
- * Fetching contacts in the addresbook.
- */
- oneway void getContact (in long opid, in ContactId id);
-
- oneway void authenticateUser (in long opid,
- in string user, in string passwd,
- in string authMethod);
-
- /*
- * Adding and deleting contacts in the book.
- */
- oneway void addContact (in long opid, in VCard vcard);
- oneway void removeContacts (in long opid, in ContactIdList Id);
-
- /*
- * Modifying contacts in the addressbook.
- */
- oneway void modifyContact (in long opid, in VCard vcard);
-
- /*
- * These two functions return a book view to the book
- * listener. This is for people who want a live view
- * of the addressbook.
- */
- oneway void getBookView (in long opid,
- in BookViewListener listener, in string query,
- in stringlist requested_fields, in long max_results);
-
- oneway void getChanges (in long opid, in string change_id);
-
- oneway void getContactList (in long opid, in string query);
-
- oneway void getSupportedFields (in long opid);
- oneway void getRequiredFields (in long pid);
-
- /*
- * This function returns a list of strings
- * representing the auth methods (e.g. SASL mechs)
- * that a backend/server supports.
- *
- * Some examples are:
- *
- * "ldap/simple-email|By email Address"
- * "sasl/CRAM-MD5|CRAM-MD5(SASL)"
- *
- * The format should be:
- *
- * <class>/<type>|<i18nized string>
- *
- * "i18nized string" is shown in the UI, and should be
- * a user friendly representation of the auth method.
- *
- * in the case of SASL auth mechs, the text trailing
- * the '/' should be the proper name of the mechanism,
- * as it will be passed unchanged to the backend auth
- * function (eg. ldap_sasl_bind)
- */
- oneway void getSupportedAuthMethods (in long opid);
-
- string getStaticCapabilities ();
-
- string getName ();
- /* cancels the currently running operation, whatever
- it is. */
- CallStatus cancelOperation ();
- };
-
- interface BookListener : Bonobo::Unknown {
-
- oneway void notifyContactCreated (in long opid, in CallStatus status, in ContactId Id);
- oneway void notifyContactsRemoved (in long opid, in CallStatus status);
- oneway void notifyContactModified (in long opid, in CallStatus status);
- oneway void notifyProgress (in string status_message, in short precent);
- oneway void notifyBookOpened (in long opid, in CallStatus status);
- oneway void notifyBookRemoved (in long opid, in CallStatus status);
- oneway void notifyViewRequested (in long opid, in CallStatus status, in BookView view);
- oneway void notifyChangesRequested (in long opid, in CallStatus status, in BookChangeList changes);
- oneway void notifyContactRequested (in long opid, in CallStatus status, in VCard vcard);
- oneway void notifyContactListRequested (in long opid, in CallStatus status, in stringlist contacts);
- oneway void notifySupportedFields (in long opid, in CallStatus status, in stringlist fields);
- oneway void notifyRequiredFields (in long opid, in CallStatus status, in stringlist fields);
- oneway void notifyAuthenticationResult (in long opid, in CallStatus status);
- oneway void notifySupportedAuthMethods (in long opid, in CallStatus status, in stringlist auth_methods);
-
- oneway void notifyWritable (in boolean writable);
- oneway void notifyConnectionStatus (in boolean is_online);
- oneway void notifyAuthRequired ();
- };
-
- interface BookFactory : Bonobo::Unknown {
- exception ProtocolNotSupported {};
-
- Book getBook (in string source, in BookListener listener)
- raises (ProtocolNotSupported);
- };
-};
-};
-};
diff --git a/addressbook/idl/Makefile.am b/addressbook/idl/Makefile.am
deleted file mode 100644
index 90c2d6044..000000000
--- a/addressbook/idl/Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
-idl_DATA = \
- Evolution-DataServer-Addressbook.idl
-
-EXTRA_DIST = $(idl_DATA)
diff --git a/configure.ac b/configure.ac
index 8b4c12ed5..cd8fb54ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1747,7 +1747,6 @@ Makefile
evolution-data-server-zip
evolution-data-server.pc
addressbook/Makefile
-addressbook/idl/Makefile
addressbook/libebook/Makefile
addressbook/libebook/libebook.pc
addressbook/libedata-book/Makefile