Mercurial > libervia-backend
diff sat_bridge/DBus.py @ 105:d2630fba8dfd
params to XMLUI tools
- xml_tools: new paramsXml2xmlUI method, for conversion from params xml to User Interface XML
- xml_tools: new addButton method
- bridge: new method getParamsUI
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 23 Jun 2010 17:26:21 +0800 |
parents | 783e9d6980ec |
children | ded2431cea5a |
line wrap: on
line diff
--- a/sat_bridge/DBus.py Wed Jun 23 14:55:04 2010 +0800 +++ b/sat_bridge/DBus.py Wed Jun 23 17:26:21 2010 +0800 @@ -197,6 +197,12 @@ def getParamA(self, name, category="default", profile_key='@DEFAULT@'): return self.cb["getParamA"](name, category, profile_key = profile_key) + + @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, + in_signature='s', out_signature='s') + def getParamsUI(self, profile_key='@DEFAULT@'): + return self.cb["getParamsUI"](profile_key) + @dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX, in_signature='s', out_signature='s') def getParams(self, profile_key='@DEFAULT@'):