Stop using static initialisation so that dcpomatic::write() can be called more than...
[dcpomatic.git] / src / lib / disk_writer_messages.h
index 8d0306754c73d39cdda9e747a6b144614056470c..ab86f083e57d2d45d47627fae090720731028415 100644 (file)
  * by \n.
  */
 
+/* PING */
+
+// Front-end sends:
+
+#define DISK_WRITER_PING "P"
+
+// Back-end responds
+
+#define DISK_WRITER_PONG "O"
+
 /* REQUEST TO WRITE DCP */
 
 // Front-end sends:
 // Error message
 // Error number
 
-// the drive is being formatted
-#define DISK_WRITER_FORMATTING "F"
+// the drive is being formatted, 40% done
+#define DISK_WRITER_FORMAT_PROGRESS "F"
+// 0.4\n
 
 // data is being copied, 30% done
 #define DISK_WRITER_COPY_PROGRESS "C"
 // 0.3\n
 
-// data is being veriried, 60% done
+// data is being verified, 60% done
 #define DISK_WRITER_VERIFY_PROGRESS "V"
 // 0.6\n