Cura/plugins/USBPrinting/__init__.py
2018-10-03 23:07:37 +02:00

15 lines
482 B
Python

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