Index: sources/gui/guicontroller.cpp =================================================================== diff -u -rfee7fabf49befb065c89248c19e15efc9ca194e4 -rfbeafa0714f065bce0403e2e8ce68f6d8fbea6bd --- sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision fee7fabf49befb065c89248c19e15efc9ca194e4) +++ sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision fbeafa0714f065bce0403e2e8ce68f6d8fbea6bd) @@ -39,6 +39,12 @@ // From HD/DG connect(_ApplicationController, SIGNAL(didActionReceive (GuiActionType, const QVariantList &)), this , SLOT( onActionReceive (GuiActionType, const QVariantList &))); + + // From OS : USB Drive has been removed physically. + connect(_ApplicationController, SIGNAL(didUSBDriveMount ()), + this , SLOT( onUSBDriveMount ())); + connect(_ApplicationController, SIGNAL(didUSBDriveRemove()), + this , SLOT( onUSBDriveRemove())); } /*! @@ -103,3 +109,18 @@ // Process ... emit didActionReceive (vAction, vData); } + +void GuiController::onUSBDriveMount() +{ + emit didUSBDriveMount(); +} + +void GuiController::doUSBDriveUmount() +{ + emit didUSBDriveUmount(); +} + +void GuiController::onUSBDriveRemove() +{ + emit didUSBDriveRemove(); +}