def load_consoles(emulators, filesystem, override = None): path = settings_file_path('consoles.txt', filesystem, override) logger.debug("Loading consoles from path: %s" % path) return BackedObjectManager( ConfigFileBackingStore(path), ConsoleBackedObjectAdapter(emulators) )
def load_emulators(filesystem, override = None): path = settings_file_path('emulators.txt', filesystem, override) logger.debug("Loading emulators from path: %s" % path) return BackedObjectManager( ConfigFileBackingStore(path), EmulatorBackedObjectAdapter(filesystem) )
def load_configuration(filesystem, override=None): path = settings_file_path('config.txt', filesystem, override) logger.debug("Loading config from path: %s" % path) return configuration.from_store(ConfigFileBackingStore(path))