comparison src/core/sat_main.py @ 963:723f28cd15c7

core (disco): added discoInfos and discoItems bridge methods
author Goffi <goffi@goffi.org>
date Tue, 01 Apr 2014 21:14:57 +0200
parents 027a054c6dda
children 07b817f5a197
comparison
equal deleted inserted replaced
962:b280cf4cdf25 963:723f28cd15c7
133 self.bridge.register("launchAction", self.launchCallback) 133 self.bridge.register("launchAction", self.launchCallback)
134 self.bridge.register("confirmationAnswer", self.confirmationAnswer) 134 self.bridge.register("confirmationAnswer", self.confirmationAnswer)
135 self.bridge.register("getProgress", self.getProgress) 135 self.bridge.register("getProgress", self.getProgress)
136 self.bridge.register("getMenus", self.getMenus) 136 self.bridge.register("getMenus", self.getMenus)
137 self.bridge.register("getMenuHelp", self.getMenuHelp) 137 self.bridge.register("getMenuHelp", self.getMenuHelp)
138 self.bridge.register("discoInfos", self.memory.disco._discoInfos)
139 self.bridge.register("discoItems", self.memory.disco._discoItems)
138 140
139 self.memory.initialized.addCallback(self._postMemoryInit) 141 self.memory.initialized.addCallback(self._postMemoryInit)
140 142
141 def _postMemoryInit(self, ignore): 143 def _postMemoryInit(self, ignore):
142 """Method called after memory initialization is done""" 144 """Method called after memory initialization is done"""