diff src/bridge/bridge_constructor/bridge_template.ini @ 1595:a3d0cfa5b7a6

core, bridge: added a profileSetDefault method
author Goffi <goffi@goffi.org>
date Sat, 14 Nov 2015 19:18:10 +0100
parents d6d655238a93
children e2ed8009e66e
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sat Nov 14 19:18:10 2015 +0100
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sat Nov 14 19:18:10 2015 +0100
@@ -220,7 +220,7 @@
 param_0_default="@DEFAULT@"
 doc=Get real profile name from profile key
 doc_param_0=%(doc_profile_key)s
-doc_return=Real profile name, or empty string if the profile doesn't exist
+doc_return=Real profile name
 
 [getProfilesList]
 type=method
@@ -229,6 +229,13 @@
 sig_out=as
 doc=Get all profiles
 
+[profileSetDefault]
+type=method
+category=core
+sig_in=s
+sig_out=
+doc=Set default profile
+
 [getEntityData]
 type=method
 category=core