comparison frontends/sat_bridge_frontend/DBus.py @ 72:f271fff3a713

MUC implementation: first draft /!\ the experimental muc branche of wokkel must be used - bridge: new roomJoined signal - wix: contact list widget is now in a separate file, and manage different kinds of presentation - wix: chat window now manage group chat (first draft, not working yet) - wix: constants are now in a separate class, so then can be accessible from everywhere - wix: new menu to join room (do nothing yet, except entering in a test room) - new plugin for xep 0045 (MUC), use wokkel experimental MUC branch - plugins: the profile is now given for get_handler, cause it can be used internally by a plugin (e.g.: xep-0045 plugin)
author Goffi <goffi@goffi.org>
date Sun, 21 Mar 2010 10:28:55 +1100
parents 9b842086d915
children ace2af8abc5a
comparison
equal deleted inserted replaced
71:efe81b61673c 72:f271fff3a713
108 108
109 def confirmationAnswer(self, id, accepted, data): 109 def confirmationAnswer(self, id, accepted, data):
110 return self.db_req_iface.confirmationAnswer(id, accepted, data) 110 return self.db_req_iface.confirmationAnswer(id, accepted, data)
111 111
112 #methods from plugins 112 #methods from plugins
113 def joinMUC(self, service, roomId, nick, profile_key='@DEFAULT@'):
114 return self.db_comm_iface.joinMUC(service, roomId, nick, profile_key)
115
113 def sendFile(self, to, path, profile_key='@DEFAULT@'): 116 def sendFile(self, to, path, profile_key='@DEFAULT@'):
114 return self.db_comm_iface.sendFile(to, path, profile_key) 117 return self.db_comm_iface.sendFile(to, path, profile_key)
115 118
116 def findGateways(self, target, profile_key='@DEFAULT@'): 119 def findGateways(self, target, profile_key='@DEFAULT@'):
117 return self.db_comm_iface.findGateways(target, profile_key) 120 return self.db_comm_iface.findGateways(target, profile_key)