Introduce blanco LegacySettings plugin

This plugin will be implemented to import settings from legacy versions of Cura.

Contributes to issue CURA-37.
This commit is contained in:
Ghostkeeper 2015-12-11 17:27:18 +01:00
parent afd63c53c0
commit 9671ae3c74
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from UM.Extension import Extension
class LegacySettings(Extension):
def __init__(self):
super().__init__()

View File

@ -0,0 +1,21 @@
# Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from . import LegacySettings
from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "GCode Reader"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading GCode files."),
"api": 2
}
}
def register(app):
return { "extension": LegacySettings.LegacySettings() }