Index: sources/gui/guicontroller.cpp =================================================================== diff -u -r8c69137f18382bdc55a5678e6ed44a7683fe4dea -r805119c460b4a266d6401c8705f4427e7fbe270f --- sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision 8c69137f18382bdc55a5678e6ed44a7683fe4dea) +++ sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision 805119c460b4a266d6401c8705f4427e7fbe270f) @@ -54,8 +54,11 @@ */ void GuiController::quit() { + // coco begin validated: Application termination is not correctly done in coco!!! + // it has been tested and works perfectly fine in normal run. quitThread(); } +// coco end /*! * \brief GuiController::initConnections @@ -88,6 +91,8 @@ */ void GuiController::initThread(QThread &vThread) { + // coco begin validated: Application termination is not correctly done in coco!!! + // it has been tested and works perfectly fine in normal run. // runs in main thread Q_ASSERT_X(QThread::currentThread() == qApp->thread() , __func__, "The Class initialization must be done in Main Thread" ); _thread = &vThread; @@ -96,6 +101,7 @@ _thread->start(); moveToThread(_thread); } +// coco end /*! * \brief GuiController::quitThread @@ -104,11 +110,14 @@ */ void GuiController::quitThread() { + // coco begin validated: Application termination is not correctly done in coco!!! + // it has been tested and works perfectly fine in normal run. if ( ! _thread ) return; // runs in thread moveToThread(qApp->thread()); } +// coco end /*! * \brief GuiController initializer @@ -153,6 +162,7 @@ */ bool GuiController::handleTransmit(GuiActionType vAction, const QVariantList &vData) { + // coco begin validated: This is a sample code and currently does nothing Q_UNUSED(vAction) Q_UNUSED(vData) @@ -179,6 +189,7 @@ } return false; } +// coco end /*! * \brief Action commanded by HD @@ -201,8 +212,11 @@ */ void GuiController::onUSBDriveMount() { + // coco begin validated: This needs user interaction to plug-in USB device + // has been tested manually emit didUSBDriveMount(); } +// coco end /*! * \brief GuiController::doUSBDriveUmount @@ -211,8 +225,11 @@ */ void GuiController::doUSBDriveUmount() { + // coco begin validated: This needs user interaction to plug-out the USB device + // has been tested manually emit didUSBDriveUmount(); } +// coco end /*! * \brief GuiController::onUSBDriveRemove @@ -221,8 +238,11 @@ */ void GuiController::onUSBDriveRemove() { + // coco begin validated: This needs user interaction to plug-out the USB device + // has been tested manually emit didUSBDriveRemove(); } +// coco end /*! * \brief GuiController::onExport @@ -231,8 +251,11 @@ */ void GuiController::onExport() { + // coco begin validated: This needs user interaction to export to USB device + // has been tested manually emit didExport(); } +// coco end /*! * \brief GuiController::doExportLog @@ -241,6 +264,8 @@ */ void GuiController::doExportLog() { + // coco begin validated: This needs user interaction to export to USB device + // has been tested manually emit didExportLog(); } - +// coco end