photosgallery/slideshow/engine/controlsrc/shwtimercontrol.cpp
branchRCL_3
changeset 13 bcb43dc84c44
parent 0 4e91876724a2
child 15 191387a8b767
equal deleted inserted replaced
12:ce1c7ad1f18b 13:bcb43dc84c44
   120 		// event is resume
   120 		// event is resume
   121 	    GLX_LOG_INFO( "CShwTimerControl::NotifyL - TShwEventResume" );
   121 	    GLX_LOG_INFO( "CShwTimerControl::NotifyL - TShwEventResume" );
   122 		// resume the timer
   122 		// resume the timer
   123 		iTimer->Resume();
   123 		iTimer->Resume();
   124 		}
   124 		}
   125 	// was it next or previous image?
       
   126 	else if ( dynamic_cast< TShwEventNextImage* >( aEvent ) || 
   125 	else if ( dynamic_cast< TShwEventNextImage* >( aEvent ) || 
   127 			  dynamic_cast< TShwEventPreviousImage* >( aEvent ) )
   126 			  dynamic_cast< TShwEventPreviousImage* >( aEvent ) )
   128 	    {
   127 	    { // it was next or previous image
   129 	    GLX_LOG_INFO( "CShwTimerControl::NotifyL - TShwEventNext/PreviousImage" );
   128 	    GLX_LOG_INFO( "CShwTimerControl::NotifyL - TShwEventNext/PreviousImage" );
   130         // cancel the timer as we have moved to another image
   129         // cancel the timer as we have moved to another image
   131         iTimer->Cancel();
   130         iTimer->Cancel();
   132 	    }
   131 	    }
   133 	else if ( dynamic_cast< TShwEventToggleControlUi* >( aEvent ))
   132 	else if ( dynamic_cast< TShwEventToggleControlUi* >( aEvent ))