diff src/bridge/bridge_constructor/bridge_template.ini @ 2050:046449cc2bff

core, bridge, frontends: removed deprecated bridge method askConfirmation, confirmationAnswer, actionResult, actionResultExt and getWaitingConf
author Goffi <goffi@goffi.org>
date Sun, 28 Aug 2016 19:23:58 +0200
parents c0ff84243650
children 24827e550991
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sun Aug 28 18:24:45 2016 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sun Aug 28 19:23:58 2016 +0200
@@ -54,19 +54,6 @@
   - info_type: subtype for info messages
 doc_param_8=%(doc_profile)s
 
-[newAlert]
-deprecated=
-type=signal
-category=core
-sig_in=ssss
-doc=A new alert happened
-doc_param_0=message: Body of the alert
-doc_param_1=title: Title of the alert
-doc_param_2=alert_type: Type of the alert, can be:
- - INFO: Informative message
- - ERROR: something went wrong
-doc_param_3=%(doc_profile)s
-
 [presenceUpdate]
 type=signal
 category=core
@@ -105,19 +92,6 @@
 doc_param_0=entity_jid: JID of the contact removed from roster
 doc_param_1=%(doc_profile)s
 
-[askConfirmation]
-deprecated=
-type=signal
-category=core
-sig_in=ssa{ss}s
-doc=A confirmation is needed for an action
-doc_param_0=id: Id of the confirmation query
-doc_param_1=conf_type: Type of the confirmation, can be:
- - YES/NO: A question which need a yes or no answer
- - FILE_TRANSFER: A confirmation is needed before transfering a file
-doc_param_2=data: conf_type dependent data
-doc_param_3=%(doc_profile)s
-
 [actionNew]
 type=signal
 category=core
@@ -138,33 +112,6 @@
 doc_param_2=%(doc_security_limit)s
 doc_param_3=%(doc_profile)s
 
-[actionResult]
-deprecated=
-type=signal
-category=core
-sig_in=ssa{ss}s
-doc=Requested result of an action
-doc_param_0=answer_type: Type of the answer, can be:
- - SUPPRESS: The action is managed, the id MUST be removed from queue
- - XMLUI: A SàT XMLUI interface is sent
- - ERROR: Something went wrong when doing the action
- - RESULT: General result, interpretation depend of the action
-doc_param_1=id: Id of the action
-doc_param_2=data: answer_type specific data
-doc_param_3=%(doc_profile)s
-
-[actionResultExt]
-deprecated=
-type=signal
-category=core
-sig_in=ssa{sa{ss}}s
-doc=Requested result of an action (Extended)
-doc_param_0=answer_type: Same as for [actionResult] but with the following additional one:
- - DICT_DICT: As RESULT, but returned as a dictionary of dictionary
-doc_param_1=id: Id of the action
-doc_param_2=data: answer_type specific data
-doc_param_3=%(doc_profile)s
-
 [entityDataUpdated]
 type=signal
 category=core
@@ -432,16 +379,6 @@
 doc_param_0=%(doc_profile_key)s
 doc_return=Dict where contact JID is the key, and value is the subscription type
 
-[getWaitingConf]
-type=method
-category=core
-sig_in=s
-sig_out=a(ssa{ss})
-doc=Get confirmations requests in queue
-doc_param_0=%(doc_profile_key)s
-doc_return=List of confirmation request data, same as for [askConfirmation]
-
-
 [messageSend]
 async=
 type=method
@@ -667,18 +604,6 @@
 doc_param_0=%(doc_profile_key)s
 doc_return=list of data as for [actionNew] (without the profile)
 
-[confirmationAnswer]
-deprecated=
-type=method
-category=core
-sig_in=sba{ss}s
-sig_out=
-doc=Give answer to a confirmation request
-doc_param_0=id: id of the confirmation request
-doc_param_1=accepted: True if the action is confirmed
-doc_param_2=data: action specific data
-doc_param_3=%(doc_profile)s
-
 [progressGet]
 type=method
 category=core