Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DigitalLibrary/__init__.py')
-rw-r--r--plugins/DigitalLibrary/__init__.py17
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)
+ }