|
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: Stub for MpEngine |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "mpengine.h" |
|
19 #include "stub\inc\mpplaybackdata.h" |
|
20 #include "mptrace.h" |
|
21 |
|
22 |
|
23 /*! |
|
24 Stub |
|
25 */ |
|
26 MpEngine::MpEngine() |
|
27 { |
|
28 TX_LOG_ARGS("Stub") |
|
29 } |
|
30 |
|
31 /*! |
|
32 Stub |
|
33 */ |
|
34 MpEngine::~MpEngine() |
|
35 { |
|
36 TX_ENTRY_ARGS("Stub") |
|
37 } |
|
38 |
|
39 |
|
40 /*! |
|
41 Stub |
|
42 */ |
|
43 void MpEngine::applyPreset( int preset ) |
|
44 { |
|
45 mApplyPresetCount++; |
|
46 mActivePreset = preset; |
|
47 } |
|
48 |
|
49 /*! |
|
50 Stub |
|
51 */ |
|
52 void MpEngine::disableEqualizer() |
|
53 { |
|
54 mDisableEquqlizerCount++; |
|
55 mActivePreset = -1; |
|
56 } |
|
57 |
|
58 /*! |
|
59 Stub |
|
60 */ |
|
61 int MpEngine::activePreset() |
|
62 { |
|
63 return mActivePreset; |
|
64 } |
|
65 |
|
66 /*! |
|
67 Stub |
|
68 */ |
|
69 QStringList MpEngine::presetNames() |
|
70 { |
|
71 QStringList presets; |
|
72 presets << "Bass Booster" << "Classic" << "Jazz" << "Pop" << "Rock" << "New Preset"; |
|
73 return presets; |
|
74 } |
|
75 |
|
76 |
|
77 /*! |
|
78 Stub |
|
79 */ |
|
80 MpPlaybackData *MpEngine::playbackData() |
|
81 { |
|
82 return new MpPlaybackData(); |
|
83 } |
|
84 |
|
85 /*! |
|
86 Stub |
|
87 */ |
|
88 void MpEngine::stop() |
|
89 { |
|
90 stopCount++; |
|
91 } |
|
92 |
|
93 /*! |
|
94 Stub |
|
95 */ |
|
96 void MpEngine::retrieveSongDetails() |
|
97 { |
|
98 retrieveSongDetailsCount++; |
|
99 } |
|
100 |
|
101 /*! |
|
102 Stub |
|
103 */ |
|
104 void MpEngine::setShuffle( bool mode ) |
|
105 { |
|
106 Q_UNUSED(mode) |
|
107 } |
|
108 /*! |
|
109 Stub |
|
110 */ |
|
111 void MpEngine::setRepeat( bool mode ) |
|
112 { |
|
113 Q_UNUSED(mode) |
|
114 } |
|
115 |
|
116 /*! |
|
117 Stub |
|
118 */ |
|
119 void MpEngine::startSeekBackward() |
|
120 { |
|
121 startSeekBackwardCount++; |
|
122 } |
|
123 |
|
124 /*! |
|
125 Stub |
|
126 */ |
|
127 void MpEngine::startSeekForward() |
|
128 { |
|
129 startSeekForwardCount++; |
|
130 } |
|
131 |
|
132 /*! |
|
133 Stub |
|
134 */ |
|
135 void MpEngine::stopSeeking() |
|
136 { |
|
137 stopSeekingCount++; |
|
138 } |
|
139 |
|
140 /*! |
|
141 Stub |
|
142 */ |
|
143 void MpEngine::skipBackward() |
|
144 { |
|
145 skipBackwardCount++; |
|
146 } |
|
147 |
|
148 /*! |
|
149 Stub |
|
150 */ |
|
151 void MpEngine::skipForward() |
|
152 { |
|
153 skipForwardCount++; |
|
154 } |
|
155 |
|
156 /*! |
|
157 Stub |
|
158 */ |
|
159 void MpEngine::playPause() |
|
160 { |
|
161 |
|
162 } |
|
163 |
|
164 /*! |
|
165 Stub |
|
166 */ |
|
167 void MpEngine::setPosition(int position) |
|
168 { |
|
169 Q_UNUSED(position) |
|
170 } |