Mercurial > libervia-backend
diff src/bridge/DBus.py @ 656:7d6e5807504a
bridge, memory: added the parameter security_limit to asyncGetParamA so it can be used from libervia. refactorization in memory.py are related to that.
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 02 Oct 2013 20:25:19 +0200 |
parents | 49587e170f53 |
children | ffb716804580 |
line wrap: on
line diff
--- a/src/bridge/DBus.py Wed Oct 02 17:38:29 2013 +0200 +++ b/src/bridge/DBus.py Wed Oct 02 20:25:19 2013 +0200 @@ -199,10 +199,10 @@ return self._callback("asyncCreateProfile", unicode(profile), callback=callback, errback=errback) @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, - in_signature='ssss', out_signature='s', + in_signature='sssis', out_signature='s', async_callbacks=('callback', 'errback')) - def asyncGetParamA(self, name, category, attribute="value", profile_key="@DEFAULT@", callback=None, errback=None): - return self._callback("asyncGetParamA", unicode(name), unicode(category), unicode(attribute), unicode(profile_key), callback=callback, errback=errback) + def asyncGetParamA(self, name, category, attribute="value", security_limit=-1, profile_key="@DEFAULT@", callback=None, errback=None): + return self._callback("asyncGetParamA", unicode(name), unicode(category), unicode(attribute), security_limit, unicode(profile_key), callback=callback, errback=errback) @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, in_signature='ssss', out_signature='s',