diff src/bridge/bridge_constructor/bridge_template.ini @ 641:49587e170f53

core: added the security_limit to setParam - params with a security greater than security_limit can not be modified - special value: security_limit < 0 disable the check (all params can be modified)
author souliane <souliane@mailoo.org>
date Sat, 07 Sep 2013 02:03:17 +0200
parents 7ea6d5a86e58
children a5ad628c3cbf
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sun Sep 08 19:18:46 2013 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sat Sep 07 02:03:17 2013 +0200
@@ -398,14 +398,16 @@
 [setParam]
 type=method
 category=core
-sig_in=ssss
+sig_in=sssis
 sig_out=
-param_3_default="@DEFAULT@"
+param_3_default=-1
+param_4_default="@DEFAULT@"
 doc=Change a parameter
 doc_param_0=name: Name of the parameter to change
 doc_param_1=value: New Value of the parameter
 doc_param_2=category: Category of the parameter to change
-doc_param_3=%(doc_profile_key)s
+doc_param_3=security_limit: -1 means no security then the higher the most secure
+doc_param_4=%(doc_profile_key)s
 
 [getParamA]
 type=method