__init__.py 496 B

1234567891011121314
  1. # Copyright (c) 2017 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from . import USBPrinterOutputDeviceManager
  4. def getMetaData():
  5. return {}
  6. def register(app):
  7. # We are violating the QT API here (as we use a factory, which is technically not allowed).
  8. # but we don't really have another means for doing this (and it seems to you know -work-)
  9. return {"output_device": USBPrinterOutputDeviceManager.USBPrinterOutputDeviceManager(application = app)}