Index: sources/ApplicationPost.h =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -re1c454bcf26e1f4dd9aaffe05daeca138eb743b3 --- sources/ApplicationPost.h (.../ApplicationPost.h) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/ApplicationPost.h (.../ApplicationPost.h) (revision e1c454bcf26e1f4dd9aaffe05daeca138eb743b3) @@ -70,6 +70,8 @@ const QString _postmsg_shasum = "App shasum" ; // POSTMSG_SHASUM="App shasum" const QString _postmsg_cloudsync = "CloudSync" ; // POSTMSG_CLOUDSYNC="CloudSync" + const int _yearMinimum = 2022 ; // The year to check for minimum + // tests // Severity bool _isShaSum = false ; // HIGH: fault: ALARM_ID_UI_POST_FAILURE_SHASUM bool _isCANBus = false ; // HIGH: fault: ALARM_ID_UI_POST_FAILURE_CANBUS @@ -82,7 +84,7 @@ bool _isCloudSync = false ; // HIGH: : ALARM_ID_UI_POST_FAILURE_CLOUDSYNC 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 _isDone = false ; bool checkShaSum (); @@ -96,6 +98,7 @@ bool checkCloudSync (); bool checkEthernet (); bool checkSound (); + bool checkYear (); public: bool isShaSum () { return _isShaSum ; } @@ -109,7 +112,7 @@ bool isCloudSync () { return _isCloudSync ; } bool isEthernet () { return _isEthernet ; } bool isSound () { return _isSound ; } - + bool isYearCheck () { return _isYearCheck ; } bool isDone () { return _isDone ; } public: @@ -128,6 +131,7 @@ void didCloudSync (bool vPass); void didEthernet (bool vPass); void didSound (bool vPass); + void didYearCheck (bool vPass); void didFail(Gui::GuiAlarmID vAlarmID); void didDone(bool vPass);