photosgallery/slideshow/engine/coresrc/shwplaybackfactory.cpp
branchRCL_3
changeset 17 a60acebbbd9d
parent 15 191387a8b767
equal deleted inserted replaced
15:191387a8b767 17:a60acebbbd9d
    95 		/// @ref CShwPlaybackFactory::EventPublishers
    95 		/// @ref CShwPlaybackFactory::EventPublishers
    96 		RPointerArray< MShwEventPublisher > EventPublishers();
    96 		RPointerArray< MShwEventPublisher > EventPublishers();
    97 		/// @ref CShwSlideshowEngine::AvailableEffectsL
    97 		/// @ref CShwSlideshowEngine::AvailableEffectsL
    98 		// @returns ownership of array of effects
    98 		// @returns ownership of array of effects
    99 		static void CreateEffectsL( RPointerArray<MShwEffect>& aEffects );
    99 		static void CreateEffectsL( RPointerArray<MShwEffect>& aEffects );
       
   100 		/// @ref CShwSlideshowEngine::GetMusicVolumeL
       
   101 		void GetMusicVolumeL();
   100 
   102 
   101 	private:
   103 	private:
   102 
   104 
   103 		/// Own: Effect manager
   105 		/// Own: Effect manager
   104 		CShwDefaultEffectManager* iEffectManager;
   106 		CShwDefaultEffectManager* iEffectManager;
   204         aEffectInfos.AppendL( effects[i]->EffectInfo() );
   206         aEffectInfos.AppendL( effects[i]->EffectInfo() );
   205         }
   207         }
   206 	// ownership transferred, remove array from stack
   208 	// ownership transferred, remove array from stack
   207 	CleanupStack::PopAndDestroy( &effects );
   209 	CleanupStack::PopAndDestroy( &effects );
   208     }
   210     }
       
   211 
       
   212 // -----------------------------------------------------------------------------
       
   213 // GetMusicVolumeL
       
   214 // -----------------------------------------------------------------------------
       
   215 void CShwPlaybackFactory::GetMusicVolumeL()
       
   216 	{
       
   217 	TRACER("CShwPlaybackFactory::GetMusicVolumeL");
       
   218 	this->iImpl->GetMusicVolumeL();
       
   219 	}
   209 
   220 
   210 //------------------------------------------------------------------------------
   221 //------------------------------------------------------------------------------
   211 // CShwPlaybackFactoryImpl
   222 // CShwPlaybackFactoryImpl
   212 //------------------------------------------------------------------------------
   223 //------------------------------------------------------------------------------
   213 
   224 
   362 	CleanupStack::Pop(); // CShwZoomAndPanEffect::NewLC()
   373 	CleanupStack::Pop(); // CShwZoomAndPanEffect::NewLC()
   363 	aEffects.AppendL( CShwCrossFadeEffect::NewLC() );
   374 	aEffects.AppendL( CShwCrossFadeEffect::NewLC() );
   364 	CleanupStack::Pop(); // CShwCrossFadeEffect::NewLC()
   375 	CleanupStack::Pop(); // CShwCrossFadeEffect::NewLC()
   365     CleanupStack::Pop(&aEffects);
   376     CleanupStack::Pop(&aEffects);
   366     }
   377     }
       
   378 
       
   379 //------------------------------------------------------------------------------
       
   380 // CShwPlaybackFactoryImpl::GetMusicVolumeL
       
   381 //------------------------------------------------------------------------------
       
   382 void CShwPlaybackFactory::CShwPlaybackFactoryImpl::GetMusicVolumeL()
       
   383     {
       
   384     TRACER("CShwPlaybackFactory::CShwPlaybackFactoryImpl::GetMusicVolumeL");
       
   385     if(iMusicControl)
       
   386         {
       
   387         iMusicControl->GetMusicVolumeL();
       
   388         }
       
   389     }