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
This commit is contained in:
parent
aaa3c32378
commit
bfd143b1e4
2 changed files with 0 additions and 96 deletions
|
|
@ -338,24 +338,12 @@ class DbusObject(dbus.service.Object):
|
|||
def getParamA(self, name, category, attribute="value", profile_key="@DEFAULT@"):
|
||||
return self._callback("getParamA", unicode(name), unicode(category), unicode(attribute), unicode(profile_key))
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
|
||||
in_signature='iss', out_signature='s',
|
||||
async_callbacks=('callback', 'errback'))
|
||||
def getParams(self, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None):
|
||||
return self._callback("getParams", security_limit, unicode(app), unicode(profile_key), callback=callback, errback=errback)
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
|
||||
in_signature='', out_signature='as',
|
||||
async_callbacks=None)
|
||||
def getParamsCategories(self, ):
|
||||
return self._callback("getParamsCategories", )
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
|
||||
in_signature='siss', out_signature='s',
|
||||
async_callbacks=('callback', 'errback'))
|
||||
def getParamsForCategory(self, category, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None):
|
||||
return self._callback("getParamsForCategory", unicode(category), security_limit, unicode(app), unicode(profile_key), callback=callback, errback=errback)
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
|
||||
in_signature='iss', out_signature='s',
|
||||
async_callbacks=('callback', 'errback'))
|
||||
|
|
|
|||
|
|
@ -493,35 +493,6 @@ doc_param_0=%(doc_security_limit)s
|
|||
doc_param_1=app: name of the frontend requesting the parameters, or '' to get all parameters
|
||||
doc_param_2=%(doc_profile_key)s
|
||||
|
||||
[getParams]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=iss
|
||||
sig_out=s
|
||||
param_0_default=-1
|
||||
param_1_default=''
|
||||
param_2_default="@DEFAULT@"
|
||||
doc=Return XML of parameters, eventually restrict the result to the parameters concerning a given frontend
|
||||
doc_param_0=%(doc_security_limit)s
|
||||
doc_param_1=app: name of the frontend requesting the parameters, or '' to get all parameters
|
||||
doc_param_2=%(doc_profile_key)s
|
||||
|
||||
[getParamsForCategory]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=siss
|
||||
sig_out=s
|
||||
param_1_default=-1
|
||||
param_2_default=''
|
||||
param_3_default="@DEFAULT@"
|
||||
doc=Return a xml of all params in a category, eventually restrict the result to the parameters concerning a given frontend
|
||||
doc_param_0=category: Category to get
|
||||
doc_param_1=%(doc_security_limit)s
|
||||
doc_param_2=app: name of the frontend requesting the parameters, or '' to get all parameters
|
||||
doc_param_3=%(doc_profile_key)s
|
||||
|
||||
[getParamsCategories]
|
||||
type=method
|
||||
category=core
|
||||
|
|
|
|||
Loading…
Reference in a new issue