summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-11 15:15:46 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-18 09:53:45 +0200
commitc4942f37f1462f067eb7b65d87ba6d7510c3cf6d (patch)
tree27a74af0368d484035b084b1511d5c85ebb7edc2 /extensions
parentac58539082c8fa438e2ef9148d51c5618fde64bd (diff)
Add a BuddyInfo.AddActivity method so activities can advertise themselves without having to track all the other shared activities.
Exposes salut_self_add_olpc_activity in salut-self.h
Diffstat (limited to 'extensions')
-rw-r--r--extensions/OLPC_Buddy_Info.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/extensions/OLPC_Buddy_Info.xml b/extensions/OLPC_Buddy_Info.xml
index 0953ced7..cd93fc63 100644
--- a/extensions/OLPC_Buddy_Info.xml
+++ b/extensions/OLPC_Buddy_Info.xml
@@ -95,6 +95,26 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</p>
</tp:possible-errors>
</method>
+ <method name="AddActivity">
+ <arg direction="in" name="id" type="s">
+ <tp:docstring>
+ An activity id
+ </tp:docstring>
+ </arg>
+ <arg direction="in" name="handle" type="u">
+ <tp:docstring>
+ A room handle
+ </tp:docstring>
+ </arg>
+ <tp:docstring>
+ Advertise an activity associated to a muc room
+ </tp:docstring>
+ <tp:possible-errors>
+ <tp:error name="org.freedesktop.Telepathy.Error.Disconnected"/>
+ <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"/>
+ </tp:possible-errors>
+ </method>
+
<method name="GetActivities">
<arg direction="in" name="contact" type="u">
<tp:docstring>