comparison frontends/sat_bridge_frontend/DBus.py @ 22:bb72c29f3432

added action cb mechanism for buttons. Tested with a temporary new user registration button.
author Goffi <goffi@goffi.org>
date Tue, 01 Dec 2009 04:56:08 +0100
parents 6928e3cb73a8
children 53e921c8a357
comparison
equal deleted inserted replaced
21:633c5ed65701 22:bb72c29f3432
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, category): 64 def setParam(self, name, value, category):
65 return self.db_comm_iface.setParam(name, value, category) 65 return self.db_comm_iface.setParam(name, value, category)
66 66
67 def getParamV(self, name, category): 67 def getParamA(self, name, category):
68 return self.db_comm_iface.getParamV(name, category) 68 return self.db_comm_iface.getParamA(name, category)
69 69
70 def getParams(self): 70 def getParams(self):
71 return self.db_comm_iface.getParams() 71 return self.db_comm_iface.getParams()
72 72
73 def getParamsForCategory(self, category): 73 def getParamsForCategory(self, category):
86 return self.db_comm_iface.delContact(jid) 86 return self.db_comm_iface.delContact(jid)
87 87
88 def isConnected(self): 88 def isConnected(self):
89 return self.db_comm_iface.isConnected() 89 return self.db_comm_iface.isConnected()
90 90
91 def launchAction(self, type, data):
92 return self.db_req_iface.launchAction(type, data)
93
91 def confirmationAnswer(self, id, accepted, data): 94 def confirmationAnswer(self, id, accepted, data):
92 return self.db_req_iface.confirmationAnswer(id, accepted, data) 95 return self.db_req_iface.confirmationAnswer(id, accepted, data)
93 96
94 def getProgress(self, id): 97 def getProgress(self, id):
95 return self.db_req_iface.getProgress(id) 98 return self.db_req_iface.getProgress(id)