# HG changeset patch # User Goffi # Date 1482074926 -3600 # Node ID 4bc408b549cdb26ed765d71ddf6ad0ea04cb91ed # Parent efe31f0881fb2604008f7eca6f9677bdc5053c55 quick_frontend(QuickApp): added onBridgeConnected method diff -r efe31f0881fb -r 4bc408b549cd frontends/src/quick_frontend/quick_app.py --- a/frontends/src/quick_frontend/quick_app.py Sun Dec 18 16:28:44 2016 +0100 +++ b/frontends/src/quick_frontend/quick_app.py Sun Dec 18 16:28:46 2016 +0100 @@ -255,6 +255,9 @@ def connectBridge(self): self.bridge.bridgeConnect(callback=self._bridgeCb, errback=self._bridgeEb) + def onBridgeConnected(self): + pass + def _bridgeCb(self): self.registerSignal("connected") self.registerSignal("disconnected") @@ -281,6 +284,7 @@ quick_games.Tarot.registerSignals(self) quick_games.Quiz.registerSignals(self) quick_games.Radiocol.registerSignals(self) + self.onBridgeConnected() def _bridgeEb(self, failure): if isinstance(failure, exceptions.BridgeExceptionNoService):