[next] telepathy-spec: Logger: use a tp:type for GetFavouriteContacts()' s return value
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Fri Feb 7 03:05:46 PST 2014
Module: telepathy-spec
Branch: next
Commit: ef30fd8f5f9b352b71ff2c06f481ade58fd93ec2
URL: http://cgit.freedesktop.org/telepathy/telepathy-spec/commit/?id=ef30fd8f5f9b352b71ff2c06f481ade58fd93ec2
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Tue Feb 4 15:50:16 2014 +0100
Logger: use a tp:type for GetFavouriteContacts()'s return value
Looks like it's mandatory to make QtDBus happy.
---
spec/Logger1.xml | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/spec/Logger1.xml b/spec/Logger1.xml
index 35bd418..89e7337 100644
--- a/spec/Logger1.xml
+++ b/spec/Logger1.xml
@@ -26,9 +26,25 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
service.
</tp:docstring>
+ <tp:struct name="Favorites" array-name="Favorites_List">
+ <tp:docstring>
+ A set of favorite contacts on a specific account.
+ </tp:docstring>
+ <tp:member name="Account" type="o">
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ The account path
+ </tp:docstring>
+ </tp:member>
+ <tp:member name="Identifiers" type="as">
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ The identifiers of the favorite contacts.
+ </tp:docstring>
+ </tp:member>
+ </tp:struct>
+
<method name="GetFavouriteContacts"
tp:name-for-bindings="Get_Favourite_Contacts">
- <arg direction="out" name="Favourite_Contacts" type="a(oas)">
+ <arg direction="out" name="Favourite_Contacts" type="a(oas)" tp:type="Favorites[]">
<tp:docstring>
The favourite contacts, as an array of TpAccounts and their contact
identifiers.
More information about the telepathy-commits
mailing list