Mercurial > pidgin.yaz
diff src/dbus-service.xml @ 11067:2eca9ed49469
[gaim-migrate @ 13048]
Modified configure.ac so that it rejects dbus builds with the dbus
library older than 0.34
Added a simple object registration system to the dbus implementation
so that it is possible to query object properties remotely (eg. give
me property "name" of buddy with id = 5).
committer: Tailor Script <tailor@pidgin.im>
author | Piotr Zielinski <zielaj> |
---|---|
date | Thu, 07 Jul 2005 15:43:48 +0000 |
parents | df0241eb602c |
children | 1c5398ccbeb0 |
line wrap: on
line diff
--- a/src/dbus-service.xml Thu Jul 07 15:43:05 2005 +0000 +++ b/src/dbus-service.xml Thu Jul 07 15:43:48 2005 +0000 @@ -8,6 +8,67 @@ </method> <method name="ConnectAll"> </method> + + <method name="GetBuddyList"> + <arg type="ai" name="buddy_ids" direction="out" /> + </method> + + + <method name="GetBuddyProperty"> + <arg type="i" name="buddy_id" /> + <arg type="s" name="property_name" /> + <arg type="v" name="value" direction="out"/> + </method> + <method name="GetAccountProperty"> + <arg type="i" name="account_id" /> + <arg type="s" name="property_name" /> + <arg type="v" name="value" direction="out"/> + </method> + <method name="GetGroupProperty"> + <arg type="i" name="group_id" /> + <arg type="s" name="property_name" /> + <arg type="v" name="value" direction="out"/> + </method> + <method name="GetContactProperty"> + <arg type="i" name="contact_id" /> + <arg type="s" name="property_name" /> + <arg type="v" name="value" direction="out"/> + </method> + <method name="GetChatProperty"> + <arg type="i" name="chat_id" /> + <arg type="s" name="property_name" /> + <arg type="v" name="value" direction="out"/> + </method> + + <method name="StartIMConversation"> + <arg type="i" name="buddy_id" /> + </method> + + <method name="FindAccount"> + <arg type="s" name="account_name" /> + <arg type="s" name="protocol_name" /> + <arg type="i" name="account_id" direction="out"/> + </method> + <method name="FindBuddy"> + <arg type="i" name="account_id" /> + <arg type="s" name="buddy_name" /> + <arg type="i" name="buddy_id" direction="out"/> + </method> + </interface> + + + <interface name="org.freedesktop.DBus.Properties"> + <!-- We implement properties ourselves rather than relying on + GObject property access. This is because currently in gaim + we have one GObject that represents many dbus objects such as + buddies, accounts, etc. Not for long! --> + +<!-- <method name="Get"> > --> +<!-- <arg type="s" name="interface_name" /> --> +<!-- <arg type="s" name="property_name" /> --> +<!-- <arg type="v" name="value" direction="out" /> --> +<!-- </method> --> + </interface> </node>