comparison frontends/sat_bridge_frontend/DBus.py @ 171:96af1bec2e68

Dbus bridge (frontend): added profile_key argument for gatewayRegister
author Goffi <goffi@goffi.org>
date Thu, 12 Aug 2010 13:17:10 +0800
parents 8a2053de6f8c
children 879beacb8e16
comparison
equal deleted inserted replaced
170:2ea8dab08160 171:96af1bec2e68
173 return self.db_comm_iface.getAvatarFile(hash) 173 return self.db_comm_iface.getAvatarFile(hash)
174 174
175 def in_band_register(self, target, profile_key='@DEFAULT@'): 175 def in_band_register(self, target, profile_key='@DEFAULT@'):
176 return self.db_comm_iface.in_band_register(target, profile_key) 176 return self.db_comm_iface.in_band_register(target, profile_key)
177 177
178 def gatewayRegister(self, action, target, data): 178 def gatewayRegister(self, action, target, data, profile_key='@DEFAULT@'):
179 if data == None: 179 if data == None:
180 data = [('', '')] #XXX: we have to do this awful hack because python dbus need to guess the signature 180 data = [('', '')] #XXX: we have to do this awful hack because python dbus need to guess the signature
181 return self.db_req_iface.gatewayRegister(action, target, data) 181 return self.db_req_iface.gatewayRegister(action, target, data, profile_key)
182 182
183 183