photosgallery/slideshow/engine/coresrc/shwthumbnailloader.cpp
branchCompilerCompatibility
changeset 16 0bc0ea26031e
parent 0 4e91876724a2
equal deleted inserted replaced
15:d08a2bd7f23a 16:0bc0ea26031e
   321     // callbacks once scheduler runs, give this high priority so that it 
   321     // callbacks once scheduler runs, give this high priority so that it 
   322     // is faster than the timers we have
   322     // is faster than the timers we have
   323     iCompletedCallBack = new( ELeave ) CAsyncCallBack( CActive::EPriorityHigh );
   323     iCompletedCallBack = new( ELeave ) CAsyncCallBack( CActive::EPriorityHigh );
   324     // set the callback
   324     // set the callback
   325     iCompletedCallBack->Set( 
   325     iCompletedCallBack->Set( 
   326         TShwCallBack< CShwThumbnailLoaderImpl, CompletedNotifyL >( this ) );
   326         TShwCallBack< CShwThumbnailLoaderImpl, &CShwThumbnailLoaderImpl::CompletedNotifyL >( this ) );
   327 
   327 
   328     // create async callback to give error callbacks once scheduler runs
   328     // create async callback to give error callbacks once scheduler runs
   329     iErrorCallBack = new( ELeave ) CAsyncCallBack( CActive::EPriorityHigh );
   329     iErrorCallBack = new( ELeave ) CAsyncCallBack( CActive::EPriorityHigh );
   330     // set the callback
   330     // set the callback
   331     iErrorCallBack->Set( 
   331     iErrorCallBack->Set( 
   332         TShwCallBack< CShwThumbnailLoaderImpl, ErrorNotifyL >( this ) );
   332         TShwCallBack< CShwThumbnailLoaderImpl, &CShwThumbnailLoaderImpl::ErrorNotifyL >( this ) );
   333         
   333         
   334     // create async callback to give callback once we run onto errors
   334     // create async callback to give callback once we run onto errors
   335     iErrorHandlerCallBack = new( ELeave ) CAsyncCallBack( CActive::EPriorityHigh );
   335     iErrorHandlerCallBack = new( ELeave ) CAsyncCallBack( CActive::EPriorityHigh );
   336     // set the callback
   336     // set the callback
   337     iErrorHandlerCallBack->Set( 
   337     iErrorHandlerCallBack->Set( 
   338         TShwCallBack< CShwThumbnailLoaderImpl, AsyncErrorHandleL >( this ) );
   338         TShwCallBack< CShwThumbnailLoaderImpl, &CShwThumbnailLoaderImpl::AsyncErrorHandleL >( this ) );
   339     }
   339     }
   340 
   340 
   341 // -----------------------------------------------------------------------------
   341 // -----------------------------------------------------------------------------
   342 // CShwThumbnailLoaderImpl::ImageSizeL.
   342 // CShwThumbnailLoaderImpl::ImageSizeL.
   343 // -----------------------------------------------------------------------------
   343 // -----------------------------------------------------------------------------