35
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Wrapper for mpx framework utilities.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#include "mpengine.h"
|
|
19 |
|
|
20 |
#include "mptrace.h"
|
|
21 |
|
|
22 |
|
|
23 |
MpEngine::MpEngine()
|
|
24 |
{
|
|
25 |
TX_LOG_ARGS("Stub")
|
|
26 |
}
|
|
27 |
|
|
28 |
/*!
|
|
29 |
Destructs music player engine.
|
|
30 |
*/
|
|
31 |
MpEngine::~MpEngine()
|
|
32 |
{
|
|
33 |
TX_ENTRY_ARGS("Stub")
|
|
34 |
}
|
|
35 |
|
|
36 |
void MpEngine::refreshLibrary()
|
|
37 |
{
|
|
38 |
TX_ENTRY_ARGS("Stub")
|
|
39 |
}
|
|
40 |
|
|
41 |
bool MpEngine::verifyUsbBlocking( bool showMessage )
|
|
42 |
{
|
45
|
43 |
Q_UNUSED(showMessage)
|
35
|
44 |
TX_ENTRY_ARGS("Stub")
|
|
45 |
return false;
|
|
46 |
}
|
|
47 |
|
|
48 |
void MpEngine::checkForSystemEvents()
|
|
49 |
{
|
|
50 |
TX_ENTRY_ARGS("Stub")
|
|
51 |
}
|
|
52 |
|
|
53 |
void MpEngine::handleScanStarted()
|
|
54 |
{
|
|
55 |
TX_ENTRY_ARGS("Stub")
|
|
56 |
}
|
|
57 |
|
|
58 |
void MpEngine::handleScanEnded( int count, int error )
|
|
59 |
{
|
45
|
60 |
Q_UNUSED(count)
|
|
61 |
Q_UNUSED(error)
|
35
|
62 |
TX_ENTRY_ARGS("Stub")
|
|
63 |
}
|
|
64 |
|
|
65 |
void MpEngine::handleDiskEvent( MpxDiskEvents event )
|
|
66 |
{
|
45
|
67 |
Q_UNUSED(event)
|
35
|
68 |
TX_ENTRY_ARGS("Stub")
|
|
69 |
}
|
|
70 |
|
|
71 |
void MpEngine::handleUsbEvent( MpxUsbEvents event )
|
|
72 |
{
|
45
|
73 |
Q_UNUSED(event)
|
35
|
74 |
TX_ENTRY_ARGS("Stub")
|
|
75 |
}
|
|
76 |
|
|
77 |
void MpEngine::handleBlockingNoteClosing()
|
|
78 |
{
|
|
79 |
TX_ENTRY_ARGS("Stub")
|
|
80 |
}
|
|
81 |
|
|
82 |
void MpEngine::openCollection( TCollectionContext context )
|
|
83 |
{
|
45
|
84 |
Q_UNUSED(context)
|
35
|
85 |
TX_ENTRY_ARGS("Stub")
|
|
86 |
}
|
|
87 |
|
|
88 |
void MpEngine::openCollectionItem( int index )
|
|
89 |
{
|
45
|
90 |
Q_UNUSED(index)
|
35
|
91 |
TX_ENTRY_ARGS("Stub")
|
|
92 |
}
|
|
93 |
|
|
94 |
void MpEngine::back()
|
|
95 |
{
|
|
96 |
TX_ENTRY_ARGS("Stub")
|
|
97 |
}
|
|
98 |
|
|
99 |
void MpEngine::findPlaylists( QStringList &playlists )
|
|
100 |
{
|
45
|
101 |
Q_UNUSED(playlists)
|
35
|
102 |
TX_ENTRY_ARGS("Stub")
|
|
103 |
}
|
|
104 |
|
|
105 |
void MpEngine::createPlaylist( QString &playlistName, QList<int> &selection, MpMpxCollectionData* collectionData )
|
|
106 |
{
|
45
|
107 |
Q_UNUSED(playlistName)
|
|
108 |
Q_UNUSED(selection)
|
|
109 |
Q_UNUSED(collectionData)
|
|
110 |
|
35
|
111 |
TX_ENTRY_ARGS("Stub")
|
|
112 |
}
|
|
113 |
|
|
114 |
void MpEngine::saveToPlaylist( int playlistIndex, QList<int> &selection )
|
|
115 |
{
|
45
|
116 |
Q_UNUSED(playlistIndex)
|
|
117 |
Q_UNUSED(selection)
|
35
|
118 |
TX_ENTRY_ARGS("Stub")
|
|
119 |
}
|
|
120 |
|
|
121 |
void MpEngine::renamePlaylist( QString &newName, int index )
|
|
122 |
{
|
45
|
123 |
Q_UNUSED(newName)
|
|
124 |
Q_UNUSED(index)
|
35
|
125 |
TX_ENTRY_ARGS("Stub")
|
|
126 |
}
|
|
127 |
|
|
128 |
void MpEngine::saveToCurrentPlaylist( QList<int> &selection, MpMpxCollectionData *collectionData )
|
|
129 |
{
|
45
|
130 |
Q_UNUSED(selection)
|
|
131 |
Q_UNUSED(collectionData)
|
35
|
132 |
TX_ENTRY_ARGS("Stub")
|
|
133 |
}
|
|
134 |
|
|
135 |
void MpEngine::renamePlaylist( QString &newName )
|
|
136 |
{
|
45
|
137 |
Q_UNUSED(newName)
|
35
|
138 |
TX_ENTRY_ARGS("Stub")
|
|
139 |
}
|
|
140 |
|
|
141 |
void MpEngine::deleteSongs( QList<int> &selection )
|
|
142 |
{
|
45
|
143 |
Q_UNUSED(selection)
|
35
|
144 |
TX_ENTRY_ARGS("Stub")
|
|
145 |
}
|
|
146 |
|
|
147 |
void MpEngine::previewItem( int index )
|
|
148 |
{
|
45
|
149 |
Q_UNUSED(index)
|
35
|
150 |
TX_ENTRY_ARGS("Stub")
|
|
151 |
}
|
|
152 |
|
|
153 |
void MpEngine::openIsolatedCollection( TCollectionContext context )
|
|
154 |
{
|
45
|
155 |
Q_UNUSED(context)
|
35
|
156 |
TX_ENTRY_ARGS("Stub")
|
|
157 |
}
|
|
158 |
|
|
159 |
void MpEngine::releaseIsolatedCollection()
|
|
160 |
{
|
|
161 |
TX_ENTRY_ARGS("Stub")
|
|
162 |
}
|
|
163 |
|
|
164 |
void MpEngine::findAlbumSongs( int index )
|
|
165 |
{
|
45
|
166 |
Q_UNUSED(index)
|
35
|
167 |
TX_ENTRY_ARGS("Stub")
|
|
168 |
}
|
|
169 |
|
|
170 |
void MpEngine::playAlbumSongs( int albumIndex, int songIndex )
|
|
171 |
{
|
45
|
172 |
Q_UNUSED(albumIndex)
|
|
173 |
Q_UNUSED(songIndex)
|
35
|
174 |
TX_ENTRY_ARGS("Stub")
|
|
175 |
}
|
|
176 |
|
|
177 |
MpMpxCollectionData *MpEngine::collectionData()
|
|
178 |
{
|
|
179 |
TX_ENTRY_ARGS("Stub")
|
|
180 |
return false;
|
|
181 |
}
|
|
182 |
|
|
183 |
void MpEngine::reopenCollection()
|
|
184 |
{
|
|
185 |
TX_ENTRY_ARGS("Stub")
|
|
186 |
}
|
|
187 |
|
|
188 |
void MpEngine::reorderPlaylist( int playlistId, int songId, int originalOrdinal, int newOrdinal )
|
|
189 |
{
|
45
|
190 |
Q_UNUSED(playlistId)
|
|
191 |
Q_UNUSED(songId)
|
|
192 |
Q_UNUSED(originalOrdinal)
|
|
193 |
Q_UNUSED(newOrdinal)
|
35
|
194 |
TX_ENTRY_ARGS("Stub")
|
|
195 |
}
|
|
196 |
|
|
197 |
MpPlaybackData *MpEngine::playbackData()
|
|
198 |
{
|
|
199 |
TX_ENTRY_ARGS("Stub")
|
|
200 |
return false;
|
|
201 |
}
|
|
202 |
|
|
203 |
|
|
204 |
void MpEngine::playEmbedded( QString aFilename )
|
|
205 |
{
|
45
|
206 |
Q_UNUSED(aFilename)
|
35
|
207 |
TX_ENTRY_ARGS("Stub")
|
|
208 |
}
|
|
209 |
|
|
210 |
void MpEngine::playEmbedded(const XQSharableFile& file )
|
|
211 |
{
|
45
|
212 |
Q_UNUSED(file)
|
35
|
213 |
TX_ENTRY_ARGS("Stub")
|
|
214 |
}
|
|
215 |
|
|
216 |
void MpEngine::playPause()
|
|
217 |
{
|
|
218 |
TX_ENTRY_ARGS("Stub")
|
|
219 |
}
|
|
220 |
|
|
221 |
void MpEngine::stop()
|
|
222 |
{
|
|
223 |
TX_ENTRY_ARGS("Stub")
|
|
224 |
}
|
|
225 |
|
|
226 |
void MpEngine::skipForward()
|
|
227 |
{
|
|
228 |
TX_ENTRY_ARGS("Stub")
|
|
229 |
}
|
|
230 |
|
|
231 |
void MpEngine::skipBackward()
|
|
232 |
{
|
|
233 |
TX_ENTRY_ARGS("Stub")
|
|
234 |
}
|
|
235 |
|
|
236 |
void MpEngine::setPosition( int position )
|
|
237 |
{
|
45
|
238 |
Q_UNUSED(position)
|
35
|
239 |
TX_ENTRY_ARGS("Stub")
|
|
240 |
}
|
|
241 |
|
|
242 |
void MpEngine::setShuffle( bool mode )
|
|
243 |
{
|
45
|
244 |
Q_UNUSED(mode)
|
35
|
245 |
TX_ENTRY_ARGS("Stub")
|
|
246 |
}
|
|
247 |
|
|
248 |
void MpEngine::setRepeat( bool mode )
|
|
249 |
{
|
45
|
250 |
Q_UNUSED(mode)
|
35
|
251 |
TX_ENTRY_ARGS("Stub")
|
|
252 |
}
|
|
253 |
|
|
254 |
MpSongData *MpEngine::songData()
|
|
255 |
{
|
|
256 |
TX_ENTRY_ARGS("Stub")
|
|
257 |
return 0;
|
|
258 |
}
|
|
259 |
|
|
260 |
void MpEngine::retrieveSong()
|
|
261 |
{
|
|
262 |
TX_ENTRY_ARGS("Stub")
|
|
263 |
}
|