Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
17:74a39f40eb6d | 18:6928e3cb73a8 |
---|---|
59 return self.db_comm_iface.sendFile(to, path) | 59 return self.db_comm_iface.sendFile(to, path) |
60 | 60 |
61 def setPresence(self, to="", type="", show="", status="", priority=0): | 61 def setPresence(self, to="", type="", show="", status="", priority=0): |
62 return self.db_comm_iface.setPresence(to, type, show, status, priority) | 62 return self.db_comm_iface.setPresence(to, type, show, status, priority) |
63 | 63 |
64 def setParam(self, name, value, namespace="default"): | 64 def setParam(self, name, value, category): |
65 return self.db_comm_iface.setParam(name, value, namespace) | 65 return self.db_comm_iface.setParam(name, value, category) |
66 | 66 |
67 def getParam(self, name, namespace="default"): | 67 def getParamV(self, name, category): |
68 return self.db_comm_iface.getParam(name, namespace) | 68 return self.db_comm_iface.getParamV(name, category) |
69 | 69 |
70 def getParams(self, namespace="default"): | 70 def getParams(self): |
71 return self.db_comm_iface.getParams(namespace) | 71 return self.db_comm_iface.getParams() |
72 | |
73 def getParamsForCategory(self, category): | |
74 return self.db_comm_iface.getParamsForCategory(category) | |
72 | 75 |
73 def getParamsCategories(self): | 76 def getParamsCategories(self): |
74 return self.db_comm_iface.getParamsCategories() | 77 return self.db_comm_iface.getParamsCategories() |
75 | 78 |
76 def getHistory(self, from_jid, to_jid, size): | 79 def getHistory(self, from_jid, to_jid, size): |