aboutsummaryrefslogtreecommitdiffstats
path: root/src/Xpl2Client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xpl2Client.h')
-rw-r--r--src/Xpl2Client.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Xpl2Client.h b/src/Xpl2Client.h
index 724f926..838c344 100644
--- a/src/Xpl2Client.h
+++ b/src/Xpl2Client.h
@@ -159,6 +159,23 @@ public:
/** Save settings for one printhead. */
Q_INVOKABLE void phSaveSettings (int printheadId);
+ /* -- Imaging (m/n) commands --------------------------------------- */
+
+ /** Start imaging at the given speed. */
+ Q_INVOKABLE void imagingStart (double speed);
+ /** Stop imaging. */
+ Q_INVOKABLE void imagingStop ();
+ /** Send image mask start (front of formatted message, 180 chars). */
+ Q_INVOKABLE void imageMaskStart (const QString &mask);
+ /** Send image mask end (triggers transmission to JC). */
+ Q_INVOKABLE void imageMaskEnd (const QString &tail);
+ /** Send duty cycle mask start (hex, 2 chars per PH). */
+ Q_INVOKABLE void dutyCycleMaskStart (const QString &mask);
+ /** Send duty cycle mask end (triggers transmission to JC). */
+ Q_INVOKABLE void dutyCycleMaskEnd (const QString &tail);
+ /** Check remaining image line count. */
+ Q_INVOKABLE void imageCount ();
+
signals:
void hostChanged ();
void connectedChanged ();
@@ -264,6 +281,10 @@ signals:
void jcStatusReceived (const Xpl2JcStatus &status);
void phStatusReceived (const Xpl2PhStatus &status);
+ /* Imaging response signals */
+ void imagingReply (int imageLines);
+ void imagingStopResult (bool success);
+
private slots:
void onSocketConnected ();
void onSocketDisconnected ();