diff src/bridge/bridge_constructor/bridge_template.ini @ 364:312ca6f9d84a

core: configuration file SàT's main options can now be put in a configuration file which can be in different locations Bridge: new getConfig option
author Goffi <goffi@goffi.org>
date Sat, 18 Jun 2011 16:22:50 +0200
parents e6047415868d
children efbfccfed623
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sun Jun 12 23:43:36 2011 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sat Jun 18 16:22:50 2011 +0200
@@ -320,6 +320,17 @@
 doc_param_1=entity: as for [subscribe]
 doc_param_2=%(doc_profile_key)s
 
+[getConfig]
+type=method
+category=communication
+sig_in=sss
+sig_out=s
+param_2_default='@DEFAULT@'
+doc=get main configuration option
+doc_param_0=section: section of the configuration file (empty string for DEFAULT)
+doc_param_1=name: name of the option
+doc_param_2=%(doc_profile_key)s
+
 [setParam]
 type=method
 category=communication