Development Team/Presence Service Removal: Difference between revisions
No edit summary |
No edit summary |
||
| Line 54: | Line 54: | ||
pass | pass | ||
* Used by: | * Used by: Shell to display an invitation from a non-Sugar XMPP client | ||
* Present: Gets fired when a new channel that communicates with a contact is created. | * Present: Gets fired when a new channel that communicates with a contact is created. | ||
| Line 60: | Line 60: | ||
* Future: | * Future: | ||
@dbus.service.method(PRESENCE_INTERFACE, in_signature="", | @dbus.service.method(PRESENCE_INTERFACE, in_signature="", out_signature="ao") | ||
def GetActivities(self): | def GetActivities(self): | ||
pass | pass | ||
* Used by: | * Used by: Shell to display shared activities | ||
* Present: | * Present: Returns a list of activities cached locally, this list is kept up to date by listening to ActivitiesChanged in org.laptop.Telepathy.BuddyInfo. | ||
* Future: | * Future: | ||
@dbus.service.method(PRESENCE_INTERFACE, in_signature="s", | @dbus.service.method(PRESENCE_INTERFACE, in_signature="s", out_signature="o") | ||
def GetActivityById(self, actid): | def GetActivityById(self, actid): | ||
pass | pass | ||
* Used by: | * Used by: at activity startup to know whether this is a shared instance. | ||
* Present: | * Present: Returns the activity identified by actid from the list mentioned in GetActivities. | ||
* Future: | * Future: | ||
| Line 97: | Line 95: | ||
def GetBuddyByPublicKey(self, key): | def GetBuddyByPublicKey(self, key): | ||
pass | pass | ||
* Used by: | |||
* Present: | |||
* Future: | |||
@dbus.service.method(PRESENCE_INTERFACE, in_signature="sou", | @dbus.service.method(PRESENCE_INTERFACE, in_signature="sou", | ||
| Line 102: | Line 106: | ||
def GetBuddyByTelepathyHandle(self, tp_conn_name, tp_conn_path, handle): | def GetBuddyByTelepathyHandle(self, tp_conn_name, tp_conn_path, handle): | ||
pass | pass | ||
* Used by: | |||
* Present: | |||
* Future: | |||
@dbus.service.method(PRESENCE_INTERFACE, in_signature="", out_signature="o") | @dbus.service.method(PRESENCE_INTERFACE, in_signature="", out_signature="o") | ||
def GetOwner(self): | def GetOwner(self): | ||
pass | pass | ||
* Used by: | |||
* Present: | |||
* Future: | |||
@dbus.service.method(PRESENCE_INTERFACE, in_signature="", out_signature="so") | @dbus.service.method(PRESENCE_INTERFACE, in_signature="", out_signature="so") | ||
def GetPreferredConnection(self): | def GetPreferredConnection(self): | ||
pass | pass | ||
* Used by: | |||
* Present: | |||
* Future: | |||
@dbus.service.method(PRESENCE_INTERFACE, in_signature="sssa{sv}", | @dbus.service.method(PRESENCE_INTERFACE, in_signature="sssa{sv}", | ||
| Line 117: | Line 139: | ||
async_err_cb, sender): | async_err_cb, sender): | ||
pass | pass | ||
* Used by: | |||
* Present: | |||
* Future: | |||
@dbus.service.method(PRESENCE_INTERFACE, in_signature="as", out_signature="") | @dbus.service.method(PRESENCE_INTERFACE, in_signature="as", out_signature="") | ||
def SyncFriends(self, keys): | def SyncFriends(self, keys): | ||
pass | pass | ||
* Used by: | |||
* Present: | |||
* Future: | |||
@dbus.service.method(PRESENCE_INTERFACE, in_signature="", out_signature="") | @dbus.service.method(PRESENCE_INTERFACE, in_signature="", out_signature="") | ||
def RestartServerConnection(self): | def RestartServerConnection(self): | ||
pass | pass | ||
* Used by: | |||
* Present: | |||
* Future: | |||