Index: sources/gui/GuiController.cpp =================================================================== diff -u -raf8d98b36b427e2b5f4d6659fcf3b58ee79eab6a -r6c6f1f5d466badd9b4fd67be7c907234c342b2a2 --- sources/gui/GuiController.cpp (.../GuiController.cpp) (revision af8d98b36b427e2b5f4d6659fcf3b58ee79eab6a) +++ sources/gui/GuiController.cpp (.../GuiController.cpp) (revision 6c6f1f5d466badd9b4fd67be7c907234c342b2a2) @@ -101,6 +101,10 @@ connect(&_ApplicationController, SIGNAL(didFailedTransmit(Sequence)), this , SLOT( onFailedTransmit(Sequence))); + // POST result + connect(&_ApplicationController, SIGNAL(didPOSTPass(bool)), + this , SLOT( onPOSTPass(bool))); + // Device Signal/Slots DEVICE_GUI_INIT_CONNECTIONS_LIST @@ -288,10 +292,6 @@ void GuiController::onSDCardStateChange(bool vIsReady, bool vIsReadOnly) { //DEBUG:0: qDebug() << " ***** GuiController " << Storage::SDCard_Base_Path_Name << vIsReady << vIsReadOnly << gDisableSDCFailLogStop; - - //TODO : May probably need to send the following alarm in case the SD-Card fails after successful post and stop logging as well. - // emit didActionTransmit(GuiActionType::ID_AlarmTriggered, {GuiAlarmID::ALARM_ID_UI_POST_FAILURE_SDCARD ,0,0,0,0,0,0,0}); - emit didSDCardStateChange(vIsReady, vIsReadOnly); } @@ -371,3 +371,22 @@ AlarmStatusData data = AlarmGenerator::ALARM_ID_HD_COMM_TIMEOUT(); emit didActionReceive(data); } + +/*! + * \brief GuiController::onPOSTPass + * \details Passes on the Post status + * \param vPass - True if passed + */ +void GuiController::onPOSTPass(bool vPass) +{ + emit didPOSTPass(vPass); +} + +/*! + * \brief GuiController::doQuitApplication + * \details emit the didQuitApplication signal to ask ApplicationController to Quit the application gracefully. + */ +void GuiController::doQuitApplication() +{ + emit didQuitApplication(); +}