[libsocialweb] collections: Added Collections.GetCreatableTypes()
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb] collections: Added Collections.GetCreatableTypes()
- Date: Tue, 15 Mar 2011 23:11:04 +0000 (UTC)
commit fdc1e3b49646a2c68eaf36ba01e9227c9239d172
Author: Eitan Isaacson <eitan isaacson collabora co uk>
Date: Sat Mar 5 18:21:20 2011 -0800
collections: Added Collections.GetCreatableTypes()
Fixes: https://bugs.meego.com/show_bug.cgi?id=14194
interfaces/sw-collections.xml | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/interfaces/sw-collections.xml b/interfaces/sw-collections.xml
index 7c2fed7..565f630 100644
--- a/interfaces/sw-collections.xml
+++ b/interfaces/sw-collections.xml
@@ -45,8 +45,7 @@
</doc:doc>
</arg>
- <arg name="collection_details" type="(sssuia{ss})"
- tp:type="Collection_Details[]" direction="out">
+ <arg name="collection_details" type="(sssuia{ss})" tp:type="Collection_Details[]" direction="out">
<doc:doc>
<doc:summary>The <tp:member-ref>Collection_Details</tp:member-ref>
of the given collection.</doc:summary>
@@ -101,6 +100,28 @@
</arg>
</method>
+ <method name="GetCreatableTypes"
+ tp:name-for-bindings="Get_Creatable_Types">
+ <doc:doc>
+ <doc:description>
+ <doc:para>
+ Retrieve a list of collection types a user can create on
+ this service.
+ </doc:para>
+ </doc:description>
+ </doc:doc>
+
+ <arg name="media_types_list" type="au"
+ tp:type="Collection_Media_Types[]" direction="out">
+ <doc:doc>
+ <doc:summary>A list of
+ <tp:member-ref>Collection_Media_Types</tp:member-ref>
+ bitfields of supported collection types we could create.
+ </doc:summary>
+ </doc:doc>
+ </arg>
+ </method>
+
<tp:struct name="Collection_Details" array-name="Collection_Details_List">
<tp:member type="s" name="Collection_Id">
<doc:doc>A service-specific identifier for the collection.</doc:doc>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]