photosgallery/slideshow/view/src/shwslideshowview.cpp
branchRCL_3
changeset 68 5b238bc8ffb6
parent 60 5b3385a43d68
child 75 01504893d9cb
--- a/photosgallery/slideshow/view/src/shwslideshowview.cpp	Tue Sep 14 21:19:17 2010 +0300
+++ b/photosgallery/slideshow/view/src/shwslideshowview.cpp	Wed Sep 15 12:13:06 2010 +0300
@@ -71,6 +71,8 @@
 #include <glxicons.mbg>
 #include <AknIconUtils.h>
 #include <glxuistd.h>
+#include <glxuiutilities.rsg>
+#include <glxgeneraluiutilities.h>
 
 namespace
     {
@@ -243,6 +245,14 @@
 				{
 				iWaitDialog->ProcessFinishedL();
 				}
+            HBufC* popupText = NULL;
+            //Load the "No Images to Play Slideshow" string from the resource file
+            popupText = StringLoader::LoadLC(R_GLX_NO_IMAGES_TO_PLAY_SLIDESHOW);
+            // Show the Info Note.
+            GlxGeneralUiUtilities::ShowInfoNoteL(popupText->Des(), EFalse);
+            // LoadLC will push text on to cleanupstack, 
+            // hence it should be poped and destroyed
+            CleanupStack::PopAndDestroy(popupText);
 			}
 		else
 			{