Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2016-11-04 11:41:26 +0300
committerJaime van Kessel <nallath@gmail.com>2016-11-04 11:41:26 +0300
commitc769a05408ab948bdd95c6fc3fd569f78fdb9dd4 (patch)
tree20235ab356d805b9257c0412eb2193a57acce952 /cura/PrinterOutputDevice.py
parent761efa168199b18f36badce1cf8d96f594c4997e (diff)
Added start & stop camera interface
CURA-2411
Diffstat (limited to 'cura/PrinterOutputDevice.py')
-rw-r--r--cura/PrinterOutputDevice.py14
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