Index: sources/gui/guiview.cpp =================================================================== diff -u -r618891879f5cdc68e37ee68eea005afb76dd4e5b -r4df19fe88c454bd54abcdaf983be59464c5ef5bc --- sources/gui/guiview.cpp (.../guiview.cpp) (revision 618891879f5cdc68e37ee68eea005afb76dd4e5b) +++ sources/gui/guiview.cpp (.../guiview.cpp) (revision 4df19fe88c454bd54abcdaf983be59464c5ef5bc) @@ -57,6 +57,10 @@ connect(&_GuiController, SIGNAL(didUSBDriveRemove()), this , SLOT( doUSBDriveRemove())); + // SD Card + connect(&_GuiController, SIGNAL(didSDCardStateChange(bool,bool)), + this , SLOT( doSDCardStateChange(bool,bool))); + connect(&_GuiController, SIGNAL(didExport()), this , SLOT( doExport())); @@ -116,7 +120,7 @@ /*! * \brief GuiView::doUSBDriveMount - * \details emits didUSBDriveMount signal to notify other classes (GuiController) + * \details emits didUSBDriveMount signal to notify other classes (UI) * , the USB drive has been mounted. */ void GuiView::doUSBDriveMount () @@ -142,7 +146,7 @@ /*! * \brief GuiView::doUSBDriveRemove - * \details emits didUSBDriveRemove signal to notify other classes (GuiController) + * \details emits didUSBDriveRemove signal to notify other classes (UI) * , the USB drive has been removed. */ void GuiView::doUSBDriveRemove() @@ -154,6 +158,22 @@ // coco end /*! + * \brief GuiView::doSDCardStateChange + * \details emits didSDCardStateChange signal to notify other classes (UI) + * , the SD Card Stte has been changed. + * \param vIsReady - SdCard is Ready + * \param vIsReadOnly - SdCard is ReadOnly + */ +void GuiView::doSDCardStateChange(bool vIsReady, bool vIsReadOnly) +{ + // coco begin validated: This needs user interaction to plug-in USB device + // has been tested manually + sdIsReady (vIsReady ); + sdIsReadOnly(vIsReadOnly); +} +// coco end + +/*! * \brief GuiView::onExport * \details The slot which will be called to notify the export is done * by emitting the didExport signal.