Add API abstraction layer

Contributes to CURA-5595
This commit is contained in:
Ian Paschal 2018-08-09 15:14:55 +02:00
parent bf219c3821
commit 4912073aed
2 changed files with 38 additions and 0 deletions

View file

@ -2,6 +2,7 @@
# Cura is released under the terms of the LGPLv3 or higher.
from UM.PluginRegistry import PluginRegistry
from cura.API.Backups import Backups
from cura.API.SidebarContextMenu import SidebarContextMenu
## The official Cura API that plug-ins can use to interact with Cura.
#
@ -16,3 +17,6 @@ class CuraAPI:
# Backups API.
backups = Backups()
# Sidebar Context Menu API
sidebar_context_menu = SidebarContextMenu()