mpviewplugins/mpsettingsviewplugin/tsrc/unittest_mpsettingsaudioeffectswidget/stub/inc/mpengine.h
equal
deleted
inserted
replaced
|
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: Music Player engine. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MPENGINE_H |
|
19 #define MPENGINE_H |
|
20 |
|
21 #include <QObject> |
|
22 #include <QStringList> |
|
23 //#include "mpmpxcollectionviewdefs.h" |
|
24 //#include "mpmpxcommondefs.h" |
|
25 //#include "mpcommondefs.h" |
|
26 |
|
27 //class MpMpxCollectionData; |
|
28 //class MpPlaybackData; |
|
29 //class MpSongData; |
|
30 //class XQSharableFile; |
|
31 class MpEngine : public QObject |
|
32 { |
|
33 Q_OBJECT |
|
34 |
|
35 friend class MpEngineFactory; |
|
36 |
|
37 public: |
|
38 enum EngineMode{ |
|
39 StandAlone, |
|
40 Fetch, |
|
41 Embedded, |
|
42 MediaBrowsing |
|
43 }; |
|
44 |
|
45 private: |
|
46 explicit MpEngine(); |
|
47 |
|
48 public: |
|
49 |
|
50 virtual ~MpEngine(); |
|
51 |
|
52 // Audio Effects related |
|
53 int balance(); |
|
54 bool loudness(); |
|
55 |
|
56 signals: |
|
57 |
|
58 public slots: |
|
59 // Audio Effects related |
|
60 void setBalance( int balance ); |
|
61 void setLoudness( bool mode ); |
|
62 |
|
63 private: |
|
64 |
|
65 Q_DISABLE_COPY( MpEngine ) |
|
66 |
|
67 public: |
|
68 int mBalance; |
|
69 bool mLoudness; |
|
70 |
|
71 |
|
72 }; |
|
73 |
|
74 #endif // MPENGINE_H |