Index: sources/gui/GuiView.h =================================================================== diff -u -r552f811f7ba3b62ecbaa6eab9343b90e3f790c12 -r6c6f1f5d466badd9b4fd67be7c907234c342b2a2 --- sources/gui/GuiView.h (.../GuiView.h) (revision 552f811f7ba3b62ecbaa6eab9343b90e3f790c12) +++ sources/gui/GuiView.h (.../GuiView.h) (revision 6c6f1f5d466badd9b4fd67be7c907234c342b2a2) @@ -78,8 +78,13 @@ PROPERTY(GuiStringIndexMap , exportList , {}) READONLY(GuiUint08IndexMap , exportListPercent , {}) - READONLY(bool , dryDemoMode , gEnableDryDemo ) + READONLY(bool , dryDemoMode , gEnableDryDemo ) + READONLY(bool , manufactSetup , gEnableManufacturing ) + READONLY(bool , manufactMode , false ) + TRIGGER (bool , postPass , false ) + + public: explicit GuiView(QObject *parent = nullptr); @@ -100,6 +105,7 @@ void onSDCardSpaceTooLow(quint8 vAvailablePercent); void onSDCardSpaceChange(bool vReady, qint64 vTotal, qint64 vAvailable, quint8 vPercent); + void onPOSTPass (bool vPass); public slots: // is public since will be used in the UI and is in the same thread. void doActionTransmit(GuiActionType vAction, const QVariantList &vData); // UI => HD/DG @@ -118,6 +124,7 @@ bool isPathSymLink (const QString vFilePath ); + void doQuitApplication(); signals: void didActionReceive (GuiActionType vAction, const QVariantList &vData); // UI <= HD/DG void didActionTransmit(GuiActionType vAction, const QVariantList &vData); // UI => HD/DG @@ -132,5 +139,7 @@ void didExportTreatment (const GuiStringIndexMap &vExportList); void didExport (); void didExportStat (quint32 vIndex, const QString &vFileName, quint8 vPercent); + + void didQuitApplication (); }; }