Exemple #1
0
def getScaleformConfig(manager):
    """ Configures services for package Scaleform.
    :param manager: helpers.dependency.DependencyManager
    """
    from gui.Scaleform.SystemMessagesInterface import SystemMessagesInterface
    messages = SystemMessagesInterface()
    messages.init()
    manager.addInstance(ISystemMessages, messages, finalizer='destroy')
def getScaleformConfig(manager):
    from gui.Scaleform.SystemMessagesInterface import SystemMessagesInterface
    messages = SystemMessagesInterface()
    messages.init()
    manager.addInstance(ISystemMessages, messages, finalizer='destroy')
    from gui.Scaleform.daapi.view.lobby.techtree.techtree_events import TechTreeEventsListener
    listener = TechTreeEventsListener()
    listener.init()
    manager.addInstance(ITechTreeEventsListener, listener, finalizer='fini')
def getScaleformConfig(manager):
    from gui.Scaleform.SystemMessagesInterface import SystemMessagesInterface
    messages = SystemMessagesInterface()
    messages.init()
    manager.addInstance(ISystemMessages, messages, finalizer='destroy')