diff options
author | Jaime van Kessel <nallath@gmail.com> | 2016-11-04 11:41:26 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2016-11-04 11:41:26 +0300 |
commit | c769a05408ab948bdd95c6fc3fd569f78fdb9dd4 (patch) | |
tree | 20235ab356d805b9257c0412eb2193a57acce952 /cura/PrinterOutputDevice.py | |
parent | 761efa168199b18f36badce1cf8d96f594c4997e (diff) |
Added start & stop camera interface
CURA-2411
Diffstat (limited to 'cura/PrinterOutputDevice.py')
-rw-r--r-- | cura/PrinterOutputDevice.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py index bbf35da6f8..f90566c30b 100644 --- a/cura/PrinterOutputDevice.py +++ b/cura/PrinterOutputDevice.py @@ -134,6 +134,20 @@ class PrinterOutputDevice(QObject, OutputDevice): def _setJobState(self, job_state): Logger.log("w", "_setJobState is not implemented by this output device") + @pyqtSlot() + def startCamera(self): + self._startCamera() + + def _startCamera(self, job_state): + Logger.log("w", "_startCamera is not implemented by this output device") + + @pyqtSlot() + def stopCamera(self): + self._stopCamera() + + def _stopCamera(self, job_state): + Logger.log("w", "_stopCamera is not implemented by this output device") + @pyqtProperty(str, notify = jobNameChanged) def jobName(self): return self._job_name |