diff src/bridge/bridge_constructor/bridge_template.ini @ 1015:fee00f2e11c2

memory, jp: added jp commands to load/save parameters template
author souliane <souliane@mailoo.org>
date Sun, 04 May 2014 18:43:54 +0200
parents 723f28cd15c7
children 6a16ec17a458
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Mon May 05 20:16:14 2014 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sun May 04 18:43:54 2014 +0200
@@ -628,3 +628,21 @@
 doc_param_0=entity_jid: JID to discover
 doc_param_1=%(doc_profile_key)s
 doc_return=array of tuple (entity, node identifier, name)
+
+[saveParamsTemplate]
+type=method
+category=core
+sig_in=s
+sig_out=b
+doc=Save parameters template to xml file
+doc_param_0=filename: output filename
+doc_return=boolean (True in case of success)
+
+[loadParamsTemplate]
+type=method
+category=core
+sig_in=s
+sig_out=b
+doc=Load parameters template from xml file
+doc_param_0=filename: input filename
+doc_return=boolean (True in case of success)