|
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 MpMpxPlaybackFrameworkWrapper |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MPMPXPLAYBACKFRAMEWORKWRAPPER_H |
|
19 #define MPMPXPLAYBACKFRAMEWORKWRAPPER_H |
|
20 |
|
21 #include <QObject> |
|
22 #include "mpmpxcommondefs.h" |
|
23 #include "mpcommondefs.h" |
|
24 #include <xqsharablefile.h> |
|
25 |
|
26 class MpPlaybackData; |
|
27 class MpSongData; |
|
28 class QStringList; |
|
29 |
|
30 |
|
31 class MpMpxPlaybackFrameworkWrapper : public QObject |
|
32 { |
|
33 Q_OBJECT |
|
34 |
|
35 friend class MpMpxPlaybackFrameworkWrapperPrivate; |
|
36 |
|
37 public: |
|
38 |
|
39 explicit MpMpxPlaybackFrameworkWrapper( TUid hostUid=TUid::Uid(MpCommon::KMusicPlayerUid), |
|
40 MpSongData *songData=0, QObject *parent=0 ); |
|
41 virtual ~MpMpxPlaybackFrameworkWrapper(); |
|
42 |
|
43 MpPlaybackData *playbackData(); |
|
44 void setBalance( int balance ); |
|
45 void applyAudioEffects(); |
|
46 void applyEqualizer(); |
|
47 |
|
48 void retrieveSongDetails(); |
|
49 |
|
50 public slots: |
|
51 |
|
52 void play( QString aFilename ); |
|
53 void play( const XQSharableFile& file ); |
|
54 void play(); |
|
55 void playPause(); |
|
56 void stop(); |
|
57 void skipForward(); |
|
58 void startSeekForward(); |
|
59 void stopSeeking(); |
|
60 void skipBackward(); |
|
61 void startSeekBackward(); |
|
62 void setPosition( int position ); |
|
63 void setShuffle( bool mode ); |
|
64 void setRepeat( bool mode ); |
|
65 void getMaxVolume(); |
|
66 void pause(); |
|
67 void getVolume(); |
|
68 void increaseVolume(); |
|
69 void decreaseVolume(); |
|
70 void setVolume( int value ); |
|
71 void getMuteState(); |
|
72 void mute(); |
|
73 void unmute(); |
|
74 |
|
75 public: |
|
76 MpPlaybackData* mPlaybackData; |
|
77 }; |
|
78 |
|
79 #endif // MPMPXPLAYBACKFRAMEWORKWRAPPER_H |