comparison src/bridge/DBus.py @ 1586:42285d993e68

bridge, core(params): removed obsolete methods: - getParams and getParamsForCategory are removed from bridge: XMLUI is now used in place of the old params XML - getParamsForCategory has also been removed internaly, as it is now unused, getParams is still used to construct the XMLUI
author Goffi <goffi@goffi.org>
date Sat, 14 Nov 2015 19:18:07 +0100
parents 7d7e57a84792
children 698d6755d62a
comparison
equal deleted inserted replaced
1585:846a39900fa6 1586:42285d993e68
337 async_callbacks=None) 337 async_callbacks=None)
338 def getParamA(self, name, category, attribute="value", profile_key="@DEFAULT@"): 338 def getParamA(self, name, category, attribute="value", profile_key="@DEFAULT@"):
339 return self._callback("getParamA", unicode(name), unicode(category), unicode(attribute), unicode(profile_key)) 339 return self._callback("getParamA", unicode(name), unicode(category), unicode(attribute), unicode(profile_key))
340 340
341 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 341 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
342 in_signature='iss', out_signature='s',
343 async_callbacks=('callback', 'errback'))
344 def getParams(self, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None):
345 return self._callback("getParams", security_limit, unicode(app), unicode(profile_key), callback=callback, errback=errback)
346
347 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
348 in_signature='', out_signature='as', 342 in_signature='', out_signature='as',
349 async_callbacks=None) 343 async_callbacks=None)
350 def getParamsCategories(self, ): 344 def getParamsCategories(self, ):
351 return self._callback("getParamsCategories", ) 345 return self._callback("getParamsCategories", )
352
353 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
354 in_signature='siss', out_signature='s',
355 async_callbacks=('callback', 'errback'))
356 def getParamsForCategory(self, category, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None):
357 return self._callback("getParamsForCategory", unicode(category), security_limit, unicode(app), unicode(profile_key), callback=callback, errback=errback)
358 346
359 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 347 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
360 in_signature='iss', out_signature='s', 348 in_signature='iss', out_signature='s',
361 async_callbacks=('callback', 'errback')) 349 async_callbacks=('callback', 'errback'))
362 def getParamsUI(self, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None): 350 def getParamsUI(self, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None):