aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/idl
diff options
context:
space:
mode:
authorNat Friedman <nat@src.gnome.org>2000-01-25 13:28:18 +0800
committerNat Friedman <nat@src.gnome.org>2000-01-25 13:28:18 +0800
commitfd4379ff20fe9c9e3b4f4028095b9659687002ff (patch)
tree78af76526262d746417a1e2007fd712f8d4ce584 /addressbook/backend/idl
parenta315f0321395423c3c52adb4bb3063c433948dd5 (diff)
downloadgsoc2013-evolution-fd4379ff20fe9c9e3b4f4028095b9659687002ff.tar
gsoc2013-evolution-fd4379ff20fe9c9e3b4f4028095b9659687002ff.tar.gz
gsoc2013-evolution-fd4379ff20fe9c9e3b4f4028095b9659687002ff.tar.bz2
gsoc2013-evolution-fd4379ff20fe9c9e3b4f4028095b9659687002ff.tar.lz
gsoc2013-evolution-fd4379ff20fe9c9e3b4f4028095b9659687002ff.tar.xz
gsoc2013-evolution-fd4379ff20fe9c9e3b4f4028095b9659687002ff.tar.zst
gsoc2013-evolution-fd4379ff20fe9c9e3b4f4028095b9659687002ff.zip
More work.
svn path=/trunk/; revision=1626
Diffstat (limited to 'addressbook/backend/idl')
-rw-r--r--addressbook/backend/idl/addressbook.idl22
1 files changed, 17 insertions, 5 deletions
diff --git a/addressbook/backend/idl/addressbook.idl b/addressbook/backend/idl/addressbook.idl
index a8f6a89f59..eabab4b5c2 100644
--- a/addressbook/backend/idl/addressbook.idl
+++ b/addressbook/backend/idl/addressbook.idl
@@ -13,10 +13,11 @@ module Evolution {
typedef string CardId;
interface CardCursor {
+ long get_length ();
+ string get_nth (in long n);
};
interface Book : GNOME::Unknown {
-
/*
* Fetching cards in the addresbook.
*/
@@ -31,16 +32,20 @@ module Evolution {
/*
* Modifying cards in the addressbook.
*/
- void modify_card (in CardId id, in string vcard);
+ void modify_card (in string vcard);
+
+ void check_connection ();
+
+ string get_name ();
};
interface BookListener : GNOME::Unknown {
enum CallStatus {
+ Success,
RepositoryOffline,
PermissionDenied,
- CardNotFound,
- ProtocolNotSupported
+ CardNotFound
};
void respond_create_card (in CallStatus status);
@@ -63,9 +68,16 @@ module Evolution {
* being asked.
*/
void report_connection_status (in boolean connected);
+
+ void signal_card_added (in CardId id);
+ void signal_card_removed (in CardId id);
+ void signal_card_changed (in CardId id);
};
interface BookFactory : GNOME::Unknown {
- void open_book (in string uri, in BookListener listener);
+ exception ProtocolNotSupported {};
+
+ void open_book (in string uri, in BookListener listener)
+ raises (ProtocolNotSupported);
};
};