Index: sources/applicationcontroller.cpp =================================================================== diff -u -r5c5fa01738826261e0b3647db6b7b3fc26b04251 -r255df1f61af0193b8f2f9630bdf3ce68be0f5e29 --- sources/applicationcontroller.cpp (.../applicationcontroller.cpp) (revision 5c5fa01738826261e0b3647db6b7b3fc26b04251) +++ sources/applicationcontroller.cpp (.../applicationcontroller.cpp) (revision 255df1f61af0193b8f2f9630bdf3ce68be0f5e29) @@ -16,13 +16,6 @@ // Qt // Project -#include "guiglobals.h" -#include "maintimer.h" -#include "guicontroller.h" -#include "messagedispatcher.h" -#include "logger.h" -#include "usbwatcher.h" -#include "filehandler.h" /*! * \brief ApplicationController::ApplicationController @@ -98,6 +91,9 @@ connect(&_MessageDispatcher, SIGNAL(didActionReceive(GuiActionType, const QVariantList &)), this , SLOT( onActionReceive(GuiActionType, const QVariantList &))); + connect(&_MessageDispatcher, SIGNAL(didFailedTransmit(Sequence)), + this , SLOT(onFailedTransmit(Sequence))); + connect(&_GuiController , SIGNAL(didUSBDriveUmount()), this , SLOT( onUSBDriveUmount())); connect(&_USBWatcher , SIGNAL(didUSBDriveMount ()), @@ -156,6 +152,16 @@ // coco end /*! + * \brief ApplicationController::onFailedTransmit + * Called when we failed to get a response back from the HD + * \param seq - The sequence that failed to send to the HD. + */ +void ApplicationController::onFailedTransmit(Sequence seq) +{ + emit didFailedTransmit(seq); +} + +/*! * \brief Process the requested action * \details Processes the requested action * \param vAction - User requested Action