Index: sources/ApplicationPost.h =================================================================== diff -u -rf1c4d7f7c9cd4422f6190a5b31c8f1e74e520c04 -r0eb3d05f90d7ed90eadfab6c0c1db76fa2a70fb6 --- sources/ApplicationPost.h (.../ApplicationPost.h) (revision f1c4d7f7c9cd4422f6190a5b31c8f1e74e520c04) +++ sources/ApplicationPost.h (.../ApplicationPost.h) (revision 0eb3d05f90d7ed90eadfab6c0c1db76fa2a70fb6) @@ -69,7 +69,6 @@ const QString _postmsg_bluetooth = "Bluetooth" ; // POSTMSG_BLUETOOTH="Bluetooth" const QString _postmsg_shasum = "App shasum" ; // POSTMSG_SHASUM="App shasum" const QString _postmsg_cloudsync = "CloudSync" ; // POSTMSG_CLOUDSYNC="CloudSync" - const QString _postmsg_settingscrc = "SettingsCRC" ; // POSTMSG_SETTINGSCRC="SettingsCRC" const quint8 _macAddrssLen = 17 ; // ff:ff:ff:ff:ff:ff const quint8 _macAppearLen = 200 ; // the mac address shall be found within the next 200 characters. @@ -98,7 +97,6 @@ bool _isEthernet = false ; // HIGH: : ALARM_ID_UI_POST_FAILURE_ETHERNET : this is not a Fault and not required the application to stop. bool _isSound = false ; // HIGH: : ALARM_ID_UI_POST_FAILURE_SOUND : this is not a Fault and not required the application to stop. bool _isYearCheck = false ; // HIGH: : ALARM_ID_HD_UI_POST_FAILURE_INVALID_YEAR - bool _isSettingsCRC = false ; // HIGH: fault: ALARM_ID_HD_UI_POST_FAILURE_SETTINGS_BAD bool _isDone = false ; @@ -114,7 +112,6 @@ bool checkEthernet (); bool checkSound (); bool checkYear (); - bool checkSettingsCRC (); public: bool isShaSum () const { return _isShaSum ; } @@ -130,7 +127,17 @@ bool isSound () const { return _isSound ; } bool isYearCheck () const { return _isYearCheck ; } bool isDone () const { return _isDone ; } - bool isSettingsCRCCheck () const { return _isSettingsCRC; } + /*! + * \brief isDone + * \details set the isDone private member with the given vDone and returns it. + * There are some items related to POST but are running outside of this class, + * like initSettings result, cryptsetup mount (which includes CRC too) + * \param vDone - a bool parameter to and with the current done result + * \return bool value of the _isDone private property + */ + bool isDone (bool vDone) { _isDone = _isDone && vDone; + return _isDone; + } QString macEthernet () const { return _macEthernet ; } QString macWireless () const { return _macWireless ; } @@ -153,7 +160,6 @@ void didEthernet (bool vPass); void didSound (bool vPass); void didYearCheck (bool vPass); - void didSettingsCRCCheck (bool vPass); void didFail(Gui::GuiAlarmID vAlarmID); void didDone(bool vPass);