mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Added account object to API
CURA-5744
This commit is contained in:
parent
060ea0b762
commit
b54383e685
3 changed files with 93 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
from UM.PluginRegistry import PluginRegistry
|
||||
from cura.API.Backups import Backups
|
||||
from cura.API.Interface import Interface
|
||||
from cura.API.Account import Account
|
||||
|
||||
|
||||
## The official Cura API that plug-ins can use to interact with Cura.
|
||||
#
|
||||
|
@ -10,7 +12,6 @@ from cura.API.Interface import Interface
|
|||
# this API provides a version-safe interface with proper deprecation warnings
|
||||
# etc. Usage of any other methods than the ones provided in this API can cause
|
||||
# plug-ins to be unstable.
|
||||
|
||||
class CuraAPI:
|
||||
|
||||
# For now we use the same API version to be consistent.
|
||||
|
@ -21,3 +22,5 @@ class CuraAPI:
|
|||
|
||||
# Interface API
|
||||
interface = Interface()
|
||||
|
||||
account = Account()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue