diff src/bridge/bridge_constructor/bridge_template.ini @ 759:93bd868b8fb6

backend, frontends: callbacks refactoring: - launchAction is now async, and return a dictionary for its result - no more action_id, actionResult* are deprecated - callback system is about to be unified
author Goffi <goffi@goffi.org>
date Tue, 24 Dec 2013 15:19:08 +0100
parents e3ad48a2aab2
children eac23b1aad90
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Tue Dec 24 15:19:08 2013 +0100
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Tue Dec 24 15:19:08 2013 +0100
@@ -104,6 +104,7 @@
 doc_param_1=%(doc_profile)s
 
 [askConfirmation]
+deprecated=
 type=signal
 category=core
 sig_in=ssa{ss}s
@@ -116,6 +117,7 @@
 doc_param_3=%(doc_profile)s
 
 [actionResult]
+deprecated=
 type=signal
 category=core
 sig_in=ssa{ss}s
@@ -130,6 +132,7 @@
 doc_param_3=%(doc_profile)s
 
 [actionResultExt]
+deprecated=
 type=signal
 category=core
 sig_in=ssa{sa{ss}}s
@@ -533,18 +536,21 @@
 doc_param_1=%(doc_profile_key)s
 
 [launchAction]
+async=
 type=method
 category=core
 sig_in=sa{ss}s
-sig_out=s
+sig_out=a{ss}
 param_2_default="@DEFAULT@"
-doc=Launch a specific action
-doc_param_0=action_type: type of the action which can be:
- - button: A button is pushed
-doc_param_1=data: action_type dependant data
+doc=Launch a registred action
+doc_param_0=callback_id: id of the registred callback
+doc_param_1=data: optional data
 doc_param_2=%(doc_profile_key)s
+doc_return=dict where key can be:
+    - xmlui: a XMLUI need to be displayed
 
 [confirmationAnswer]
+deprecated=
 type=method
 category=core
 sig_in=sba{ss}s