mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
connect & close are now pure virtual
CURA-1339
This commit is contained in:
parent
0015d9d027
commit
6ad926b9b8
1 changed files with 2 additions and 2 deletions
|
@ -152,11 +152,11 @@ class PrinterOutputDevice(OutputDevice, QObject):
|
|||
|
||||
## Attempt to establish connection
|
||||
def connect(self):
|
||||
pass
|
||||
raise NotImplementedError("connect needs to be implemented")
|
||||
|
||||
## Attempt to close the connection
|
||||
def close(self):
|
||||
pass
|
||||
raise NotImplementedError("close needs to be implemented")
|
||||
|
||||
@pyqtProperty(bool, notify = connectionStateChanged)
|
||||
def connectionState(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue