aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/idl/addressbook.idl
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend/idl/addressbook.idl')
-rw-r--r--addressbook/backend/idl/addressbook.idl10
1 files changed, 3 insertions, 7 deletions
diff --git a/addressbook/backend/idl/addressbook.idl b/addressbook/backend/idl/addressbook.idl
index bfdbae6882..193d1246ab 100644
--- a/addressbook/backend/idl/addressbook.idl
+++ b/addressbook/backend/idl/addressbook.idl
@@ -24,13 +24,9 @@ module Addressbook {
ContactDeleted
};
- union BookChangeItem switch (BookChangeType) {
- case ContactAdded:
- VCard add_vcard;
- case ContactModified:
- VCard mod_vcard;
- case ContactDeleted:
- ContactId del_id;
+ struct BookChangeItem {
+ BookChangeType changeType;
+ VCard vcard;
};
typedef sequence<BookChangeItem> BookChangeList;