mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/src/mpxplaybackutility.cpp
changeset 36 a0afa279b8fe
parent 22 ecf06a08d4d9
child 43 0f32e550d9d8
--- a/mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/src/mpxplaybackutility.cpp	Fri May 14 18:54:37 2010 -0500
+++ b/mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/src/mpxplaybackutility.cpp	Fri May 28 19:46:01 2010 -0500
@@ -17,6 +17,7 @@
 
 #include <Qt>
 #include <mpxcollectionplaylist.h>
+#include <mpxcollectionpath.h>
 #include <mptrace.h>
 
 #include "stub/inc/mpxplaybackutility.h"
@@ -27,7 +28,8 @@
 MMPXPlaybackUtility::MMPXPlaybackUtility():iShuffle(-1),
                                            iRepeat(-1),
                                            iProperty(EPbPropertyVolume),
-                                           iPlay(EFalse)
+                                           iPlay(EFalse),
+                                           iCurrentPath(0)
 {
 }
 
@@ -60,7 +62,7 @@
 */
 void MMPXPlaybackUtility::InitL(const CMPXCollectionPlaylist& aPlaylist, TBool aPlay)
 {
-    Q_UNUSED(aPlaylist);
+    iCurrentPath = aPlaylist.Path().ContainerPathL();
     iPlay = aPlay;
 }