Index: sources/gui/GuiController.h =================================================================== diff -u -r465a935949a85d3d1bebd11979737ff38ef96122 -r6c6f1f5d466badd9b4fd67be7c907234c342b2a2 --- sources/gui/GuiController.h (.../GuiController.h) (revision 465a935949a85d3d1bebd11979737ff38ef96122) +++ 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) 28-Mar-2022 + * \date (last) 15-Oct-2022 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * @@ -71,9 +71,10 @@ void doActionTransmit(GuiActionType vAction, const QVariantList &vData); // UI => HD/DG void doUSBDriveUmount (); // UI => OS - void doExportLog (); // UI => OS - void doExportService (); // UI => OS - void doExportTreatment (); // 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 @@ -87,8 +88,11 @@ 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 @@ -102,11 +106,16 @@ void didSDCardSpaceChange(bool vReady, qint64 vTotal, qint64 vAvailable, quint8 vPercent); void didSDCardSpaceTooLow(quint8 vAvailablePercent); - void didExportLog (); - void didExportService (); - void didExportTreatment (); - 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