Mercurial > libervia-backend
diff frontends/sat_bridge_frontend/DBus.py @ 18:6928e3cb73a8
refactoring: using xml params part II
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 Nov 2009 23:31:00 +0100 |
parents | a06a151fc31f |
children | bb72c29f3432 |
line wrap: on
line diff
--- a/frontends/sat_bridge_frontend/DBus.py Fri Nov 06 19:48:57 2009 +0100 +++ b/frontends/sat_bridge_frontend/DBus.py Fri Nov 06 23:31:00 2009 +0100 @@ -61,14 +61,17 @@ def setPresence(self, to="", type="", show="", status="", priority=0): return self.db_comm_iface.setPresence(to, type, show, status, priority) - def setParam(self, name, value, namespace="default"): - return self.db_comm_iface.setParam(name, value, namespace) + def setParam(self, name, value, category): + return self.db_comm_iface.setParam(name, value, category) - def getParam(self, name, namespace="default"): - return self.db_comm_iface.getParam(name, namespace) + def getParamV(self, name, category): + return self.db_comm_iface.getParamV(name, category) - def getParams(self, namespace="default"): - return self.db_comm_iface.getParams(namespace) + def getParams(self): + return self.db_comm_iface.getParams() + + def getParamsForCategory(self, category): + return self.db_comm_iface.getParamsForCategory(category) def getParamsCategories(self): return self.db_comm_iface.getParamsCategories()