mpviewplugins/mpmediawallviewplugin/tsrc/unittest_mpmediawallview/stub/src/mpengine.cpp
equal
deleted
inserted
replaced
19 #include "mpplaybackdata.h" |
19 #include "mpplaybackdata.h" |
20 #include "mptrace.h" |
20 #include "mptrace.h" |
21 #include "mpmpxcollectiondata.h" |
21 #include "mpmpxcollectiondata.h" |
22 |
22 |
23 |
23 |
24 MpEngine::MpEngine() : mOpenCollectionCalled(0) |
24 MpEngine::MpEngine() : mOpenCollectionCalled(0), |
|
25 mPlayAlbumSongsCount(0), |
|
26 mPlayPauseCount(0) |
25 { |
27 { |
26 TX_LOG_ARGS("Stub") |
28 TX_LOG_ARGS("Stub") |
27 } |
29 } |
28 |
30 |
29 /*! |
31 /*! |
144 void MpEngine::playAlbumSongs( int albumIndex, int songIndex, MpMpxCollectionData* collectionData ) |
146 void MpEngine::playAlbumSongs( int albumIndex, int songIndex, MpMpxCollectionData* collectionData ) |
145 { |
147 { |
146 Q_UNUSED(albumIndex) |
148 Q_UNUSED(albumIndex) |
147 Q_UNUSED(songIndex) |
149 Q_UNUSED(songIndex) |
148 Q_UNUSED(collectionData) |
150 Q_UNUSED(collectionData) |
|
151 mPlayAlbumSongsCount++; |
149 TX_ENTRY_ARGS("Stub") |
152 TX_ENTRY_ARGS("Stub") |
150 } |
153 } |
151 |
154 |
152 MpMpxCollectionData *MpEngine::collectionData() |
155 MpMpxCollectionData *MpEngine::collectionData() |
153 { |
156 { |
189 } |
192 } |
190 |
193 |
191 void MpEngine::playPause() |
194 void MpEngine::playPause() |
192 { |
195 { |
193 TX_ENTRY_ARGS("Stub") |
196 TX_ENTRY_ARGS("Stub") |
|
197 mPlayPauseCount++; |
194 } |
198 } |
195 |
199 |
196 void MpEngine::stop() |
200 void MpEngine::stop() |
197 { |
201 { |
198 TX_ENTRY_ARGS("Stub") |
202 TX_ENTRY_ARGS("Stub") |