comparison src/bridge/DBus.py @ 1037:6e975c6b0faf

core, memory, bridge, plugin misc_register_account: move registerNewAccount to a new plugin: - the bridge method has been removed, now a plugin takes care of it with XMLUI callback system - TODO: xmpp.RegisteringAuthenticator still needs to be fixed
author souliane <souliane@mailoo.org>
date Fri, 16 May 2014 00:58:20 +0200
parents 15f43b54d697
children b2b9c184033f
comparison
equal deleted inserted replaced
1036:35048cafb18d 1037:6e975c6b0faf
402 async_callbacks=None) 402 async_callbacks=None)
403 def paramsRegisterApp(self, xml, security_limit=-1, app=''): 403 def paramsRegisterApp(self, xml, security_limit=-1, app=''):
404 return self._callback("paramsRegisterApp", unicode(xml), security_limit, unicode(app)) 404 return self._callback("paramsRegisterApp", unicode(xml), security_limit, unicode(app))
405 405
406 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 406 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
407 in_signature='ssssi', out_signature='s',
408 async_callbacks=None)
409 def registerNewAccount(self, login, password, email, host, port=5222):
410 return self._callback("registerNewAccount", unicode(login), unicode(password), unicode(email), unicode(host), port)
411
412 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
413 in_signature='s', out_signature='b', 407 in_signature='s', out_signature='b',
414 async_callbacks=None) 408 async_callbacks=None)
415 def saveParamsTemplate(self, filename): 409 def saveParamsTemplate(self, filename):
416 return self._callback("saveParamsTemplate", unicode(filename)) 410 return self._callback("saveParamsTemplate", unicode(filename))
417 411