diff options
author | Kostas Karmas <konskarm@gmail.com> | 2021-04-20 17:09:54 +0300 |
---|---|---|
committer | Kostas Karmas <konskarm@gmail.com> | 2021-04-20 17:09:54 +0300 |
commit | 5b74090dce6c4d2f268f869b03a7a39c3c4f20f2 (patch) | |
tree | 6f0b6e357219dfff30a11c7f5c8d4e2a56197258 /plugins/DigitalLibrary/__init__.py | |
parent | 196c8913311a8c6a2d033620df0b6d70d4d132b4 (diff) | |
parent | 0db033a6907b83e92645e4ac7b8f7532388745ca (diff) |
Merge branch 'df49' into 4.94.9.0
Diffstat (limited to 'plugins/DigitalLibrary/__init__.py')
-rw-r--r-- | plugins/DigitalLibrary/__init__.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/DigitalLibrary/__init__.py b/plugins/DigitalLibrary/__init__.py new file mode 100644 index 0000000000..968aef66ee --- /dev/null +++ b/plugins/DigitalLibrary/__init__.py @@ -0,0 +1,17 @@ +# Copyright (c) 2021 Ultimaker B.V. +# Cura is released under the terms of the LGPLv3 or higher. + +from UM.MimeTypeDatabase import MimeType, MimeTypeDatabase +from .src import DigitalFactoryFileProvider, DigitalFactoryOutputDevicePlugin, DigitalFactoryController + + +def getMetaData(): + return {} + + +def register(app): + df_controller = DigitalFactoryController.DigitalFactoryController(app) + return { + "file_provider": DigitalFactoryFileProvider.DigitalFactoryFileProvider(df_controller), + "output_device": DigitalFactoryOutputDevicePlugin.DigitalFactoryOutputDevicePlugin(df_controller) + } |