mpviewplugins/mpsettingsviewplugin/tsrc/unittest_mpmpxasframeworkwrapper/stub/src/mpxplaybackutility.cpp
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: mpxplaybackutility stub for testing mpmpxasframeworkwrapper |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <Qt> |
|
19 #include <mpxcollectionplaylist.h> |
|
20 #include <mptrace.h> |
|
21 |
|
22 #include "stub/inc/mpxplaybackutility.h" |
|
23 |
|
24 /*! |
|
25 Stub function. |
|
26 */ |
|
27 MMPXPlaybackUtility::MMPXPlaybackUtility():iBalance(0), |
|
28 iProperty(EPbPropertyVolume) |
|
29 |
|
30 { |
|
31 } |
|
32 |
|
33 /*! |
|
34 Stub function. |
|
35 */ |
|
36 MMPXPlaybackUtility::~MMPXPlaybackUtility() |
|
37 { |
|
38 } |
|
39 |
|
40 /*! |
|
41 Stub function. |
|
42 */ |
|
43 MMPXPlaybackUtility* MMPXPlaybackUtility::UtilityL(const TUid& aModeId) |
|
44 { |
|
45 Q_UNUSED(aModeId); |
|
46 static MMPXPlaybackUtility playbackUtilility; |
|
47 return &playbackUtilility; |
|
48 } |
|
49 |
|
50 /*! |
|
51 Stub function. |
|
52 */ |
|
53 void MMPXPlaybackUtility::Close() |
|
54 { |
|
55 } |
|
56 |
|
57 /*! |
|
58 Stub function. |
|
59 */ |
|
60 void MMPXPlaybackUtility::SetL(TMPXPlaybackProperty aProperty, TInt aValue) |
|
61 { |
|
62 iProperty = aProperty; |
|
63 iBalance = aValue; |
|
64 } |
|
65 |
|
66 /*! |
|
67 Stub function. |
|
68 */ |
|
69 void MMPXPlaybackUtility::CommandL(TMPXPlaybackCommand aCmd, TInt aData) |
|
70 { |
|
71 iCommand = aCmd; |
|
72 iEffectId = aData; |
|
73 } |
|
74 |
|
75 //end of file |
|