Index: sources/ApplicationController.h =================================================================== diff -u -r424495967b6daa334d559003709c781d5b929bff -rc70ae33e19c08779ce89e2f1728f2d1af7b5c100 --- sources/ApplicationController.h (.../ApplicationController.h) (revision 424495967b6daa334d559003709c781d5b929bff) +++ sources/ApplicationController.h (.../ApplicationController.h) (revision c70ae33e19c08779ce89e2f1728f2d1af7b5c100) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2024 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 ApplicationController.h - * \author (last) Behrouz NematiPour - * \date (last) 01-Aug-2023 + * \author (last) Dara Navaei + * \date (last) 26-Mar-2024 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * @@ -55,7 +55,8 @@ QThread *_thread = nullptr; bool _init = false; - QFutureWatcher _settingsWatcher; + QFutureWatcher _settingsWatcher; + int _settingsError = 0; ApplicationPost _post; // I may need to be put in a concurrent. @@ -81,8 +82,11 @@ void createFakeSeqAtBeginLongMessage(QVariantList &vData, const int vFakeDataLen); void postDoneRequest(); - void versionsRequest(bool vPass); + void versionsRequest(); + void institutionalRequest(); + void alarmTrigger (Gui::GuiAlarmID vAlarmID, bool vSend = false, bool vSingle = false); + private slots: // Should be private for thread safety and is connected internally. void onActionReceive (GuiActionType vAction, const QVariantList &vData); // UI <= HD/DG void onActionTransmit(GuiActionType vAction, const QVariantList &vData); // UI => HD/DG @@ -110,6 +114,7 @@ void onSettingsUpdate(); + void onOSVersion (bool vPass); void onPOSTEthernet (bool vPass); void onPOSTWiFi (bool vPass); void onPOSTBluetooth (bool vPass); @@ -122,12 +127,16 @@ void onLogIOFail(); + void onTreatmentRangesDone(bool vPass); + signals: + void didPOSTOSVersion (bool vPass); void didPOSTEthernet (bool vPass); void didPOSTWireless (bool vPass); void didPOSTBluetooth (bool vPass); void didPOSTCloudSync (bool vPass); + void didPOSTOSVersionData (const QString &vOSVersion ); void didPOSTEthernetData (const QString &vMacAddress); void didPOSTWirelessData (const QString &vMacAddress); void didPOSTBluetoothData (const QString &vMacAddress);