__init__.py 611 B

1234567891011121314151617
  1. # Copyright (c) 2021 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from UM.MimeTypeDatabase import MimeType, MimeTypeDatabase
  4. from .src import DigitalFactoryFileProvider, DigitalFactoryOutputDevicePlugin, DigitalFactoryController
  5. def getMetaData():
  6. return {}
  7. def register(app):
  8. df_controller = DigitalFactoryController.DigitalFactoryController(app)
  9. return {
  10. "file_provider": DigitalFactoryFileProvider.DigitalFactoryFileProvider(df_controller),
  11. "output_device": DigitalFactoryOutputDevicePlugin.DigitalFactoryOutputDevicePlugin(df_controller)
  12. }