Index: sources/gui/GuiController.h =================================================================== diff -u -r3561f79af1a92356eea01d5d0c3297c69d2ecdf2 -r6c6f1f5d466badd9b4fd67be7c907234c342b2a2 --- sources/gui/GuiController.h (.../GuiController.h) (revision 3561f79af1a92356eea01d5d0c3297c69d2ecdf2) +++ sources/gui/GuiController.h (.../GuiController.h) (revision 6c6f1f5d466badd9b4fd67be7c907234c342b2a2) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2020-2022 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file GuiController.h * \author (last) Behrouz NematiPour - * \date (last) 10-Aug-2021 + * \date (last) 15-Oct-2022 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * @@ -70,40 +70,60 @@ public slots: void doActionTransmit(GuiActionType vAction, const QVariantList &vData); // UI => HD/DG - void doUSBDriveUmount(); // UI => OS - void doExportLog (); // UI => OS + void doUSBDriveUmount (); // UI => OS + void doExportLog (const GuiStringIndexMap &vExportList); // UI => OS + void doExportService (const GuiStringIndexMap &vExportList); // UI => OS + void doExportTreatment (const GuiStringIndexMap &vExportList); // UI => OS + void doQuitApplication (); private slots: // Should be private for thread safety and is connected internally. void onActionReceive (GuiActionType vAction, const QVariantList &vData); // UI <= HD/DG void onUSBDriveMount (); // OS => UI void onUSBDriveRemove(); // OS => UI + void onUSBSpaceChange(bool vReady, qint64 vTotal, qint64 vAvailable, quint8 vPercent); void onSDCardStateChange(bool vIsReady, bool vIsReadOnly); // OS => UI + void onSDCardSpaceChange(bool vReady, qint64 vTotal, qint64 vAvailable, quint8 vPercent); void onSDCardSpaceTooLow(quint8 vAvailablePercent); // OS => UI void onExport (); // OS => UI + void onExportStat (quint32 vIndex, const QString &vFileName, quint8 vPercent); void onFailedTransmit(Sequence seq); + void onPOSTPass (bool vPass); + signals: void didActionReceive (GuiActionType vAction, const QVariantList &vData); // UI <= HD/DG void didActionTransmit(GuiActionType vAction, const QVariantList &vData); // UI => HD/DG void didUSBDriveMount (); void didUSBDriveUmount(); void didUSBDriveRemove(); + void didUSBSpaceChange(bool vReady, qint64 vTotal, qint64 vAvailable, quint8 vPercent); void didSDCardStateChange(bool vIsReady, bool vIsReadOnly); + void didSDCardSpaceChange(bool vReady, qint64 vTotal, qint64 vAvailable, quint8 vPercent); void didSDCardSpaceTooLow(quint8 vAvailablePercent); - void didExportLog(); - void didExport (); + void didExportLog (const GuiStringIndexMap &vExportList); + void didExportService (const GuiStringIndexMap &vExportList); + void didExportTreatment (const GuiStringIndexMap &vExportList); + void didExport (); + void didExportStat (quint32 vIndex, const QString &vFileName, quint8 vPercent); + void didPOSTPass (bool vPass); + + void didQuitApplication (); + // Device controller signal slots connection DEVICE_GUI_BRIDGE_DEFINITION_LIST // ---- Signal/Slots ADJUST_TRANSMT_MODEL_BRIDGE_DEFINITIONS_PUBLIC ACTION_RECEIVE_MODEL_BRIDGE_DEFINITIONS + + ACTION_RECEIVE_PRIVATE_SLOT(UIPostFinalResultHDRequestData) + }; }