diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-11 14:53:02 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-18 10:11:38 +0200 |
commit | f9112e4c7f5926ed41b690e2665c463d5ffc8253 (patch) | |
tree | 61c12b7f4212f428fd55005e8ce7c1f1becfb57a /extensions | |
parent | 4239c68b03958dea18b5ea2414517c0756bdc840 (diff) |
Add a BuddyInfo.AddActivity method so activities can advertise
themselves without having to track all the other shared activities.
Refactors into an add_activity function the logic shared with
SetActivities.
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/OLPC_Buddy_Info.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extensions/OLPC_Buddy_Info.xml b/extensions/OLPC_Buddy_Info.xml index b57d3b2d..b37c4f9a 100644 --- a/extensions/OLPC_Buddy_Info.xml +++ b/extensions/OLPC_Buddy_Info.xml @@ -108,6 +108,26 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</p> </tp:possible-errors> </method> + <method name="AddActivity" tp:name-for-bindings="Add_Activity"> + <arg direction="in" name="id" type="s"> + <tp:docstring> + The identifier of the activity + </tp:docstring> + </arg> + <arg direction="in" name="handle" type="u"> + <tp:docstring> + The room handle of the activity channel + </tp:docstring> + </arg> + <tp:docstring> + Add a shared activity of the local user for this connection. + </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" tp:name-for-bindings="Get_Activities"> <arg direction="in" name="contact" type="u"> <tp:docstring> |