photosgallery/slideshow/engine/coresrc/shwplaybackfactory.cpp
branchRCL_3
changeset 17 a60acebbbd9d
parent 15 191387a8b767
--- a/photosgallery/slideshow/engine/coresrc/shwplaybackfactory.cpp	Tue Apr 27 16:37:53 2010 +0300
+++ b/photosgallery/slideshow/engine/coresrc/shwplaybackfactory.cpp	Tue May 11 16:13:40 2010 +0300
@@ -97,6 +97,8 @@
 		/// @ref CShwSlideshowEngine::AvailableEffectsL
 		// @returns ownership of array of effects
 		static void CreateEffectsL( RPointerArray<MShwEffect>& aEffects );
+		/// @ref CShwSlideshowEngine::GetMusicVolumeL
+		void GetMusicVolumeL();
 
 	private:
 
@@ -207,6 +209,15 @@
 	CleanupStack::PopAndDestroy( &effects );
     }
 
+// -----------------------------------------------------------------------------
+// GetMusicVolumeL
+// -----------------------------------------------------------------------------
+void CShwPlaybackFactory::GetMusicVolumeL()
+	{
+	TRACER("CShwPlaybackFactory::GetMusicVolumeL");
+	this->iImpl->GetMusicVolumeL();
+	}
+
 //------------------------------------------------------------------------------
 // CShwPlaybackFactoryImpl
 //------------------------------------------------------------------------------
@@ -364,3 +375,15 @@
 	CleanupStack::Pop(); // CShwCrossFadeEffect::NewLC()
     CleanupStack::Pop(&aEffects);
     }
+
+//------------------------------------------------------------------------------
+// CShwPlaybackFactoryImpl::GetMusicVolumeL
+//------------------------------------------------------------------------------
+void CShwPlaybackFactory::CShwPlaybackFactoryImpl::GetMusicVolumeL()
+    {
+    TRACER("CShwPlaybackFactory::CShwPlaybackFactoryImpl::GetMusicVolumeL");
+    if(iMusicControl)
+        {
+        iMusicControl->GetMusicVolumeL();
+        }
+    }