Refactor cloud sync out of Toolbox.py

CURA-6983
This commit is contained in:
Nino van Hooff 2020-01-06 16:04:22 +01:00
parent 261ecfacc1
commit 71000180fc
4 changed files with 156 additions and 67 deletions

View file

@ -2,6 +2,7 @@
# Toolbox is released under the terms of the LGPLv3 or higher.
from .src import Toolbox
from .src.SubscriptionChecker import SubscriptionChecker
def getMetaData():
@ -9,4 +10,7 @@ def getMetaData():
def register(app):
return {"extension": Toolbox.Toolbox(app)}
return {
"extension": Toolbox.Toolbox(app),
"subscription_checker": SubscriptionChecker(app)
}