[evolution-data-server/dbus] Add dbus XML service description files



commit c0971e4f847205b4f00e6fa783b3203661f89c51
Author: Rob Bradford <rob linux intel com>
Date:   Fri Apr 24 17:06:49 2009 +0100

    Add dbus XML service description files
---
 addressbook/libedata-book/dbus.dtd                |   57 ++++++++++
 addressbook/libedata-book/e-data-book-factory.xml |   23 ++++
 addressbook/libedata-book/e-data-book-view.xml    |   43 +++++++
 addressbook/libedata-book/e-data-book.xml         |  123 +++++++++++++++++++++
 4 files changed, 246 insertions(+), 0 deletions(-)

diff --git a/addressbook/libedata-book/dbus.dtd b/addressbook/libedata-book/dbus.dtd
new file mode 100644
index 0000000..6ffdb22
--- /dev/null
+++ b/addressbook/libedata-book/dbus.dtd
@@ -0,0 +1,57 @@
+<?xml version ="1.0" ?>
+
+<!ENTITY % name.attr
+        "name         CDATA           #REQUIRED">
+
+<!ELEMENT node (interface+)>
+<!ATTLIST node
+ %name.attr;
+>
+
+<!ELEMENT interface (annotation?, (method|signal|property)*)>
+<!ATTLIST interface
+ %name.attr;
+>
+
+<!ELEMENT annotation EMPTY>
+<!ATTLIST annotation
+ name (org.freedesktop.DBus.GLib.CSymbol|org.freedesktop.DBus.Deprecated) #REQUIRED
+ value CDATA #REQUIRED
+>
+
+<!ELEMENT method (annotation?, arg*)>
+<!ATTLIST method
+ %name.attr;
+>
+
+<!ELEMENT signal (arg*)>
+<!ATTLIST signal
+ %name.attr;
+>
+
+<!--
+The types:
+byte: y
+boolean: b
+int16: n
+uint16: q
+int32: i
+unit32: u
+int64: x
+uint64: t
+double: d
+string: s
+object path: o
+signature: g
+array: a
+variant: v
+struct: r
+dict entry: e
+-->
+
+<!ELEMENT arg EMPTY>
+<!ATTLIST arg
+ %name.attr;
+ type (y|b|n|q|i|u|x|t|d|s|o|g|a|v|r|e) #REQUIRED
+ direction (in|out) #IMPLIED
+>
diff --git a/addressbook/libedata-book/e-data-book-factory.xml b/addressbook/libedata-book/e-data-book-factory.xml
new file mode 100644
index 0000000..560e24c
--- /dev/null
+++ b/addressbook/libedata-book/e-data-book-factory.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node SYSTEM "dbus.dtd">
+
+<!--
+  Author: Ross Burton <ross linux intel com>
+  Copyright (C) 2005 Opened Hand Ltd
+  Copyright (C) 2009 Intel Corporation
+-->
+<node name="/org/gnome/evolution/dataserver/addressbook/BookFactory">
+
+  <interface name="org.gnome.evolution.dataserver.addressbook.BookFactory">
+    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="EDataBookFactory"/>
+    <annotation name="org.freedesktop.DBus.GLib.Singleton" value="true"/>
+
+    <method name="getBook">
+    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_BookFactory_getBook"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="source" type="s" direction="in"/>
+      <arg name="path" type="o" direction="out"/>
+    </method>
+  </interface>
+
+</node>
diff --git a/addressbook/libedata-book/e-data-book-view.xml b/addressbook/libedata-book/e-data-book-view.xml
new file mode 100644
index 0000000..29cfa6f
--- /dev/null
+++ b/addressbook/libedata-book/e-data-book-view.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node SYSTEM "dbus.dtd">
+
+<!--
+  Author: Ross Burton <ross linux intel com>
+  Copyright (C) 2005 Opened Hand Ltd
+  Copyright (C) 2009 Intel Corporation
+-->
+<node>
+
+  <interface name="org.gnome.evolution.dataserver.addressbook.BookView">
+    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="EDataBookView"/>
+
+    <method name="start">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_BookView_start"/>
+    </method>
+
+    <method name="stop">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_BookView_stop"/>
+    </method>
+
+    <method name="dispose">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_BookView_dispose"/>
+    </method>
+
+    <signal name="ContactsAdded">
+    	<arg name="vcards" type="as"/>
+    </signal>
+    <signal name="ContactsChanged">
+    	<arg name="vcards" type="as"/>
+    </signal>
+    <signal name="ContactsRemoved">
+    	<arg name="ids" type="as"/>
+    </signal>
+    <signal name="StatusMessage">
+    	<arg name="message" type="s"/>
+    </signal>
+    <signal name="Complete">
+    	<arg name="status" type="u"/>
+    </signal>
+  </interface>
+
+</node>
diff --git a/addressbook/libedata-book/e-data-book.xml b/addressbook/libedata-book/e-data-book.xml
new file mode 100644
index 0000000..4641483
--- /dev/null
+++ b/addressbook/libedata-book/e-data-book.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node SYSTEM "dbus.dtd">
+
+<!--
+  Author: Ross Burton <ross linux intel com>
+  Copyright (C) 2005 Opened Hand Ltd
+  Copyright (C) 2009 Intel Corporation
+-->
+<node>
+
+  <interface name="org.gnome.evolution.dataserver.addressbook.Book">
+    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="EDataBook"/>
+
+    <signal name="writable">
+    	<arg name="value" type="b"/>
+    </signal>
+    <signal name="connection">
+    	<arg name="connected" type="b"/>
+    </signal>
+    <signal name="auth_required"/>
+
+    <method name="open">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_open"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="only_if_exists" type="b" direction="in"/>
+    </method>
+
+    <method name="remove">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_remove"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+    </method>
+
+    <method name="getContact">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_getContact"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="uid" type="s" direction="in"/>
+      <arg name="vcard" type="s" direction="out"/>
+    </method>
+
+    <method name="getContactList">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_getContactList"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="query" type="s" direction="in"/>
+      <arg name="vcards" type="as" direction="out"/>
+    </method>
+
+    <method name="authenticateUser">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_authenticateUser"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="user" type="s" direction="in"/>
+      <arg name="passwd" type="s" direction="in"/>
+      <arg name="auth_method" type="s" direction="in"/>
+    </method>
+
+    <method name="addContact">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_addContact"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="vcard" type="s" direction="in"/>
+      <arg name="uid" type="s" direction="out"/>
+    </method>
+
+    <method name="removeContacts">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_removeContacts"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="list" type="as" direction="in"/>
+    </method>
+
+    <method name="modifyContact">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_modifyContact"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="vcard" type="s" direction="in"/>
+    </method>
+
+    <method name="getStaticCapabilities">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_getStaticCapabilities"/>
+      <arg name="capabilities" type="s" direction="out"/>
+    </method>
+
+    <method name="getRequiredFields">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_getRequiredFields"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="fields" type="as" direction="out"/>
+    </method>
+
+    <method name="getSupportedFields">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_getSupportedFields"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="fields" type="as" direction="out"/>
+    </method>
+
+    <method name="getSupportedAuthMethods">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_getSupportedAuthMethods"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="auth_methods" type="as" direction="out"/>
+    </method>
+
+    <method name="getBookView">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_getBookView"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="query" type="s" direction="in"/>
+      <!-- <arg name="fields" type="as" direction="in"/> -->
+      <arg name="max_results" type="u" direction="in"/>
+      <arg name="view" type="o" direction="out"/>
+    </method>
+
+    <method name="getChanges">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_getChanges"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="change_id" type="s" direction="in"/>
+      <arg name="changes" type="a(us)" direction="out"/>
+    </method>
+
+    <method name="cancelOperation">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_cancelOperation"/>
+    </method>
+    
+    <method name="close">
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_AddressBook_Book_close"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+    </method>
+  </interface>
+
+</node>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]