backend: - bridge async D-Bus method now automatically manage callback and errback, we just have to return a deferred
- getParams, getParamsForCategory and getParamsUI are now asynchronous primitivus: management of asynchronous getParamsUI
This commit is contained in:
parent
8ac5759a5f
commit
19232e8a6b
1 changed files with 250 additions and 166 deletions
|
|
@ -195,7 +195,6 @@ doc_return=callback is called when profile actually exists in database and memor
|
|||
errback is called with error constant as parameter:
|
||||
- "CONFLICT": The profile name already exists
|
||||
- "CANCELED": profile creation canceled
|
||||
- "DATABASE": profile creation in database failed
|
||||
|
||||
[deleteProfile]
|
||||
type=method
|
||||
|
|
@ -396,6 +395,7 @@ doc_param_2=attribute: Name of the attribute
|
|||
doc_param_3=%(doc_profile_key)s
|
||||
|
||||
[getParamsUI]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=s
|
||||
|
|
@ -405,6 +405,7 @@ doc=Return a SàT XMLUI for parameters
|
|||
doc_param_0=%(doc_profile_key)s
|
||||
|
||||
[getParams]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=s
|
||||
|
|
@ -414,6 +415,7 @@ doc=Return XML of parameters
|
|||
doc_param_0=%(doc_profile_key)s
|
||||
|
||||
[getParamsForCategory]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=ss
|
||||
|
|
|
|||
Loading…
Reference in a new issue