[libsocialweb] contacts: add ContactView interface
- From: Alban Crequy <albanc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb] contacts: add ContactView interface
- Date: Thu, 31 Mar 2011 15:35:26 +0000 (UTC)
commit a23544d685523bc750bbaff542392ac2a0577b4e
Author: Alban Crequy <alban crequy collabora co uk>
Date: Wed Mar 23 11:22:26 2011 +0000
contacts: add ContactView interface
interfaces/Makefile.am | 4 ++--
interfaces/sw-contact-view.xml | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 2 deletions(-)
---
diff --git a/interfaces/Makefile.am b/interfaces/Makefile.am
index 35c5761..f6ba833 100644
--- a/interfaces/Makefile.am
+++ b/interfaces/Makefile.am
@@ -12,8 +12,8 @@ MARSHALS_SOURCES = \
MARSHALS_LISTS = sw-marshals.list
DBUS_SPECS = sw-core.xml sw-service.xml \
- sw-item-view.xml sw-query.xml \
- sw-contacts-query.xml \
+ sw-item-view.xml sw-contact-view.xml \
+ sw-query.xml sw-contacts-query.xml \
sw-avatar.xml sw-status-update.xml \
sw-photo-upload.xml sw-banishable.xml \
sw-video-upload.xml lastfm.xml \
diff --git a/interfaces/sw-contact-view.xml b/interfaces/sw-contact-view.xml
new file mode 100644
index 0000000..3236466
--- /dev/null
+++ b/interfaces/sw-contact-view.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<node name="/Contact_View_Iface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">>
+ <interface name="com.meego.libsocialweb.ContactView">
+ <method name="Start" tp:name-for-bindings="Start"/>
+
+ <method name="Refresh" tp:name-for-bindings="Refresh"/>
+
+ <method name="Stop" tp:name-for-bindings="Stop"/>
+
+ <method name="Close" tp:name-for-bindings="Close"/>
+
+ <signal name="ContactsAdded" tp:name-for-bindings="Contacts_Added">
+ <arg name="contacts" type="a(ssxa{sas})">
+ <tp:docstring>
+ Array of contacts added. It contains: service, id, time, hash of
+ attributes.
+ </tp:docstring>
+ </arg>
+ </signal>
+
+ <signal name="ContactsRemoved" tp:name-for-bindings="Contacts_Removed">
+ <arg name="contacts" type="a(sas)">
+ <tp:docstring>
+ Array of contacts removed. It contains: service, id.
+ </tp:docstring>
+ </arg>
+ </signal>
+
+ <signal name="ContactsChanged" tp:name-for-bindings="Contacts_Changed">
+ <arg name="contacts" type="a(ssxa{sas})">
+ <tp:docstring>
+ Array of contacts changed. It contains: service, id, time, hash of
+ attributes.
+ </tp:docstring>
+ </arg>
+ </signal>
+
+ </interface>
+</node>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]