comparison src/core/sat_main.py @ 420:acd908528ef7

core: profile creation/deletion through database
author Goffi <goffi@goffi.org>
date Wed, 02 Nov 2011 22:49:23 +0100
parents 32dc8b18c2ae
children 6c20c76abdcc
comparison
equal deleted inserted replaced
419:6c167a2e04b8 420:acd908528ef7
115 self.bridge=DBusBridge() 115 self.bridge=DBusBridge()
116 self.bridge.register("getVersion", lambda: self.get_const('client_version')) 116 self.bridge.register("getVersion", lambda: self.get_const('client_version'))
117 self.bridge.register("getProfileName", self.memory.getProfileName) 117 self.bridge.register("getProfileName", self.memory.getProfileName)
118 self.bridge.register("getProfilesList", self.memory.getProfilesList) 118 self.bridge.register("getProfilesList", self.memory.getProfilesList)
119 self.bridge.register("createProfile", self.memory.createProfile) 119 self.bridge.register("createProfile", self.memory.createProfile)
120 self.bridge.register("asyncCreateProfile", self.memory.asyncCreateProfile)
120 self.bridge.register("deleteProfile", self.memory.deleteProfile) 121 self.bridge.register("deleteProfile", self.memory.deleteProfile)
121 self.bridge.register("registerNewAccount", self.registerNewAccount) 122 self.bridge.register("registerNewAccount", self.registerNewAccount)
122 self.bridge.register("connect", self.connect) 123 self.bridge.register("connect", self.connect)
123 self.bridge.register("asyncConnect", self.asyncConnect) 124 self.bridge.register("asyncConnect", self.asyncConnect)
124 self.bridge.register("disconnect", self.disconnect) 125 self.bridge.register("disconnect", self.disconnect)