Index: sources/ApplicationPost.h =================================================================== diff -u -r2bc6542cebc264eb343f791f75223a1ca151465e -r3f555c49ddd2c983f469709e3c001d0e76159248 --- sources/ApplicationPost.h (.../ApplicationPost.h) (revision 2bc6542cebc264eb343f791f75223a1ca151465e) +++ sources/ApplicationPost.h (.../ApplicationPost.h) (revision 3f555c49ddd2c983f469709e3c001d0e76159248) @@ -23,20 +23,30 @@ class ApplicationPost : public QObject { Q_OBJECT + + QString _content; + const char *_postmsg_canbus ="CANBus passed" ; + const char *_postmsg_sdcard ="SD-CARD passed" ; + const char *_postmsg_touch ="Touch passed" ; + const char *_postmsg_rtc ="RTC passed" ; + + // tests // Severity + bool checkFileSystem (); // HIGH : ALARM_ID_UI_POST_FAILURE_FILESYSTEM + bool checkCANBus (); // HIGH : ALARM_ID_UI_POST_FAILURE_CANBUS + bool checkDisplay (); // HIGH : ALARM_ID_UI_POST_FAILURE_DISPLAY + bool checkTouch (); // HIGH : ALARM_ID_UI_POST_FAILURE_TOUCH + bool checkSDCard (); // HIGH : ALARM_ID_UI_POST_FAILURE_SDCARD + bool RTC (); // MEDIUM : ALARM_ID_UI_POST_FAILURE_RTC + bool checkWiFi (); // LOW : ALARM_ID_UI_POST_FAILURE_WIFI + bool checkBluetooth (); // LOW : ALARM_ID_UI_POST_FAILURE_BLUETOOTH + bool checkEthernet (); // NONE : ALARM_ID_UI_POST_FAILURE_ETHERNET : this is not a Fault and not required the application to stop. + bool checkSound (); // NONE : ALARM_ID_UI_POST_FAILURE_SOUND : this is not a Fault and not required the application to stop. + public: explicit ApplicationPost(QObject *parent = nullptr); - bool start(); + void start(); signals: - void didPOSTFailed(const Gui::GuiAlarmID &vAlarmID); - -public slots: + void didPOSTFail(Gui::GuiAlarmID vAlarmID); + void didPOSTDone(bool vResult ); }; - - - - - - -// if the touch is not connected this message in dmesg -// [ 5.152555] ft5x06-ts 3-0038: Could not detect touch screen -19.