core, bridge: actionsGet:

- added a new mechanism to keep actions until they are answered (or timeout-ed)
    - keep_id must be explicitly used on actionNew
    - actionsGet is used to retrive these actions
    - the mechanism is used in deferXMLUI
This commit is contained in:
Goffi 2015-11-17 21:28:58 +01:00
commit a42452ff57

View file

@ -212,6 +212,12 @@ class DbusObject(dbus.service.Object):
### methods ###
@dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
in_signature='s', out_signature='a(a{ss}si)',
async_callbacks=None)
def actionsGet(self, profile_key="@DEFAULT@"):
return self._callback("actionsGet", unicode(profile_key))
@dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
in_signature='ss', out_signature='',
async_callbacks=None)