1234567891011121314151617 |
- from . import USBPrinterOutputDeviceManager
- from PyQt5.QtQml import qmlRegisterType, qmlRegisterSingletonType
- from UM.i18n import i18nCatalog
- i18n_catalog = i18nCatalog("cura")
- def getMetaData():
- return {
- }
- def register(app):
-
-
- qmlRegisterSingletonType(USBPrinterOutputDeviceManager.USBPrinterOutputDeviceManager, "Cura", 1, 0, "USBPrinterManager", USBPrinterOutputDeviceManager.USBPrinterOutputDeviceManager.getInstance)
- return {"extension":USBPrinterOutputDeviceManager.USBPrinterOutputDeviceManager.getInstance(), "output_device": USBPrinterOutputDeviceManager.USBPrinterOutputDeviceManager.getInstance()}
|