mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpdetailsview/stub/src/mpengine.cpp
changeset 45 612c4815aebe
parent 35 fdb31ab341af
equal deleted inserted replaced
43:0f32e550d9d8 45:612c4815aebe
    38     TX_ENTRY_ARGS("Stub")
    38     TX_ENTRY_ARGS("Stub")
    39 }
    39 }
    40 
    40 
    41 bool MpEngine::verifyUsbBlocking( bool showMessage )
    41 bool MpEngine::verifyUsbBlocking( bool showMessage )
    42 {
    42 {
       
    43     Q_UNUSED(showMessage)
    43     TX_ENTRY_ARGS("Stub")
    44     TX_ENTRY_ARGS("Stub")
    44     return false;
    45     return false;
    45 }
    46 }
    46 
    47 
    47 void MpEngine::checkForSystemEvents()
    48 void MpEngine::checkForSystemEvents()
    54     TX_ENTRY_ARGS("Stub")
    55     TX_ENTRY_ARGS("Stub")
    55 }
    56 }
    56 
    57 
    57 void MpEngine::handleScanEnded( int count, int error ) 
    58 void MpEngine::handleScanEnded( int count, int error ) 
    58 {
    59 {
       
    60     Q_UNUSED(count)
       
    61     Q_UNUSED(error)
    59     TX_ENTRY_ARGS("Stub")
    62     TX_ENTRY_ARGS("Stub")
    60 }
    63 }
    61 
    64 
    62 void MpEngine::handleDiskEvent( MpxDiskEvents event )
    65 void MpEngine::handleDiskEvent( MpxDiskEvents event )
    63 {
    66 {
       
    67     Q_UNUSED(event)
    64     TX_ENTRY_ARGS("Stub")
    68     TX_ENTRY_ARGS("Stub")
    65 }
    69 }
    66 
    70 
    67 void MpEngine::handleUsbEvent( MpxUsbEvents event )
    71 void MpEngine::handleUsbEvent( MpxUsbEvents event )
    68 {
    72 {
       
    73     Q_UNUSED(event)
    69     TX_ENTRY_ARGS("Stub")
    74     TX_ENTRY_ARGS("Stub")
    70 }
    75 }
    71 
    76 
    72 void MpEngine::handleBlockingNoteClosing()
    77 void MpEngine::handleBlockingNoteClosing()
    73 {
    78 {
    74     TX_ENTRY_ARGS("Stub")
    79     TX_ENTRY_ARGS("Stub")
    75 }
    80 }
    76 
    81 
    77 void MpEngine::openCollection( TCollectionContext context )
    82 void MpEngine::openCollection( TCollectionContext context )
    78 {
    83 {
       
    84     Q_UNUSED(context)
    79     TX_ENTRY_ARGS("Stub")
    85     TX_ENTRY_ARGS("Stub")
    80 }
    86 }
    81 
    87 
    82 void MpEngine::openCollectionItem( int index )
    88 void MpEngine::openCollectionItem( int index )
    83 {
    89 {
       
    90     Q_UNUSED(index)
    84     TX_ENTRY_ARGS("Stub")
    91     TX_ENTRY_ARGS("Stub")
    85 }
    92 }
    86 
    93 
    87 void MpEngine::back()
    94 void MpEngine::back()
    88 {
    95 {
    89     TX_ENTRY_ARGS("Stub")
    96     TX_ENTRY_ARGS("Stub")
    90 }
    97 }
    91 
    98 
    92 void MpEngine::findPlaylists( QStringList &playlists )
    99 void MpEngine::findPlaylists( QStringList &playlists )
    93 {
   100 {
       
   101     Q_UNUSED(playlists)
    94     TX_ENTRY_ARGS("Stub")
   102     TX_ENTRY_ARGS("Stub")
    95 }
   103 }
    96 
   104 
    97 void MpEngine::createPlaylist( QString &playlistName, QList<int> &selection, MpMpxCollectionData* collectionData )
   105 void MpEngine::createPlaylist( QString &playlistName, QList<int> &selection, MpMpxCollectionData* collectionData )
    98 {
   106 {
       
   107     Q_UNUSED(playlistName)
       
   108     Q_UNUSED(selection)
       
   109     Q_UNUSED(collectionData)
       
   110 
    99     TX_ENTRY_ARGS("Stub")
   111     TX_ENTRY_ARGS("Stub")
   100 }
   112 }
   101 
   113 
   102 void MpEngine::saveToPlaylist( int playlistIndex, QList<int> &selection )
   114 void MpEngine::saveToPlaylist( int playlistIndex, QList<int> &selection )
   103 {
   115 {
       
   116     Q_UNUSED(playlistIndex)
       
   117     Q_UNUSED(selection)
   104     TX_ENTRY_ARGS("Stub")
   118     TX_ENTRY_ARGS("Stub")
   105 }
   119 }
   106 
   120 
   107 void MpEngine::renamePlaylist( QString &newName, int index )
   121 void MpEngine::renamePlaylist( QString &newName, int index )
   108 {
   122 {
       
   123     Q_UNUSED(newName)
       
   124     Q_UNUSED(index)
   109     TX_ENTRY_ARGS("Stub")
   125     TX_ENTRY_ARGS("Stub")
   110 }
   126 }
   111 
   127 
   112 void MpEngine::saveToCurrentPlaylist( QList<int> &selection, MpMpxCollectionData *collectionData )
   128 void MpEngine::saveToCurrentPlaylist( QList<int> &selection, MpMpxCollectionData *collectionData )
   113 {
   129 {
       
   130     Q_UNUSED(selection)
       
   131     Q_UNUSED(collectionData)
   114     TX_ENTRY_ARGS("Stub")
   132     TX_ENTRY_ARGS("Stub")
   115 }
   133 }
   116 
   134 
   117 void MpEngine::renamePlaylist( QString &newName )
   135 void MpEngine::renamePlaylist( QString &newName )
   118 {
   136 {
       
   137     Q_UNUSED(newName)
   119     TX_ENTRY_ARGS("Stub")
   138     TX_ENTRY_ARGS("Stub")
   120 }
   139 }
   121 
   140 
   122 void MpEngine::deleteSongs( QList<int> &selection )
   141 void MpEngine::deleteSongs( QList<int> &selection )
   123 {
   142 {
       
   143     Q_UNUSED(selection)
   124     TX_ENTRY_ARGS("Stub")
   144     TX_ENTRY_ARGS("Stub")
   125 }
   145 }
   126 
   146 
   127 void MpEngine::previewItem( int index )
   147 void MpEngine::previewItem( int index )
   128 {
   148 {
       
   149     Q_UNUSED(index)
   129     TX_ENTRY_ARGS("Stub")
   150     TX_ENTRY_ARGS("Stub")
   130 }
   151 }
   131 
   152 
   132 void MpEngine::openIsolatedCollection( TCollectionContext context )
   153 void MpEngine::openIsolatedCollection( TCollectionContext context )
   133 {
   154 {
       
   155     Q_UNUSED(context)
   134     TX_ENTRY_ARGS("Stub")
   156     TX_ENTRY_ARGS("Stub")
   135 }
   157 }
   136 
   158 
   137 void MpEngine::releaseIsolatedCollection()
   159 void MpEngine::releaseIsolatedCollection()
   138 {
   160 {
   139     TX_ENTRY_ARGS("Stub")
   161     TX_ENTRY_ARGS("Stub")
   140 }
   162 }
   141 
   163 
   142 void MpEngine::findAlbumSongs( int index )
   164 void MpEngine::findAlbumSongs( int index )
   143 {
   165 {
       
   166     Q_UNUSED(index)
   144     TX_ENTRY_ARGS("Stub")
   167     TX_ENTRY_ARGS("Stub")
   145 }
   168 }
   146 
   169 
   147 void MpEngine::playAlbumSongs( int albumIndex, int songIndex )
   170 void MpEngine::playAlbumSongs( int albumIndex, int songIndex )
   148 {
   171 {
       
   172     Q_UNUSED(albumIndex)
       
   173     Q_UNUSED(songIndex)
   149     TX_ENTRY_ARGS("Stub")
   174     TX_ENTRY_ARGS("Stub")
   150 }
   175 }
   151 
   176 
   152 MpMpxCollectionData *MpEngine::collectionData()
   177 MpMpxCollectionData *MpEngine::collectionData()
   153 {
   178 {
   160     TX_ENTRY_ARGS("Stub")
   185     TX_ENTRY_ARGS("Stub")
   161 }
   186 }
   162 
   187 
   163 void MpEngine::reorderPlaylist( int playlistId, int songId, int originalOrdinal, int newOrdinal )
   188 void MpEngine::reorderPlaylist( int playlistId, int songId, int originalOrdinal, int newOrdinal )
   164 {
   189 {
       
   190     Q_UNUSED(playlistId)
       
   191     Q_UNUSED(songId)
       
   192     Q_UNUSED(originalOrdinal)
       
   193     Q_UNUSED(newOrdinal)
   165     TX_ENTRY_ARGS("Stub")
   194     TX_ENTRY_ARGS("Stub")
   166 }
   195 }
   167 
   196 
   168 MpPlaybackData *MpEngine::playbackData()
   197 MpPlaybackData *MpEngine::playbackData()
   169 {
   198 {
   172 }
   201 }
   173 
   202 
   174 
   203 
   175 void MpEngine::playEmbedded( QString aFilename )
   204 void MpEngine::playEmbedded( QString aFilename )
   176 {
   205 {
       
   206     Q_UNUSED(aFilename)
   177     TX_ENTRY_ARGS("Stub")
   207     TX_ENTRY_ARGS("Stub")
   178 }
   208 }
   179 
   209 
   180 void MpEngine::playEmbedded(const XQSharableFile& file )
   210 void MpEngine::playEmbedded(const XQSharableFile& file )
   181 {
   211 {
       
   212     Q_UNUSED(file)
   182     TX_ENTRY_ARGS("Stub")
   213     TX_ENTRY_ARGS("Stub")
   183 }
   214 }
   184 
   215 
   185 void MpEngine::playPause()
   216 void MpEngine::playPause()
   186 {
   217 {
   202     TX_ENTRY_ARGS("Stub")
   233     TX_ENTRY_ARGS("Stub")
   203 }
   234 }
   204 
   235 
   205 void MpEngine::setPosition( int position )
   236 void MpEngine::setPosition( int position )
   206 {
   237 {
       
   238     Q_UNUSED(position)
   207     TX_ENTRY_ARGS("Stub")
   239     TX_ENTRY_ARGS("Stub")
   208 }
   240 }
   209 
   241 
   210 void MpEngine::setShuffle( bool mode )
   242 void MpEngine::setShuffle( bool mode )
   211 {
   243 {
       
   244     Q_UNUSED(mode)
   212     TX_ENTRY_ARGS("Stub")
   245     TX_ENTRY_ARGS("Stub")
   213 }
   246 }
   214 
   247 
   215 void MpEngine::setRepeat( bool mode )
   248 void MpEngine::setRepeat( bool mode )
   216 {
   249 {
       
   250     Q_UNUSED(mode)
   217     TX_ENTRY_ARGS("Stub")
   251     TX_ENTRY_ARGS("Stub")
   218 }
   252 }
   219 
   253 
   220 MpSongData *MpEngine::songData()
   254 MpSongData *MpEngine::songData()
   221 {
   255 {