--- a/photosgallery/slideshow/engine/tsrc/t_cshwtimercontrol/t_cshwtimercontrol.cpp Wed Apr 14 15:57:24 2010 +0300
+++ b/photosgallery/slideshow/engine/tsrc/t_cshwtimercontrol/t_cshwtimercontrol.cpp Tue Apr 27 16:37:53 2010 +0300
@@ -172,10 +172,8 @@
// iCShwTimerControl to send any event
// start asynch wait for 1 second
iStoppedForTimer = EFalse;
- timer->Start(
- 1 * 1000000,
- 1 * 1000000,
- TShwCallBack< T_CShwTimerControl, TimerCallBack >( this ) );
+ timer->Start(1 * 1000000, 1 * 1000000, TShwCallBack<T_CShwTimerControl,
+ &T_CShwTimerControl::TimerCallBack> (this));
// Need to let the scheduler loop
iWait.Start();
@@ -191,10 +189,8 @@
// start the timer again
iStoppedForTimer = EFalse;
- timer->Start(
- 1 * 1000000,
- 1 * 1000000,
- TShwCallBack< T_CShwTimerControl, TimerCallBack >( this ) );
+ timer->Start(1 * 1000000, 1 * 1000000, TShwCallBack<T_CShwTimerControl,
+ &T_CShwTimerControl::TimerCallBack> (this));
// Need to let the scheduler loop
iWait.Start();
@@ -215,7 +211,8 @@
timer->Start(
1 * 1000000,
1 * 1000000,
- TShwCallBack< T_CShwTimerControl, TimerCallBack >( this ) );
+ TShwCallBack<T_CShwTimerControl,
+ &T_CShwTimerControl::TimerCallBack> (this));
// Need to let the scheduler loop
iWait.Start();
timer->Cancel();