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():iProperty(EPbPropertyVolume), |
|
28 iBalance(0) |
|
29 { |
|
30 } |
|
31 |
|
32 /*! |
|
33 Stub function. |
|
34 */ |
|
35 MMPXPlaybackUtility::~MMPXPlaybackUtility() |
|
36 { |
|
37 } |
|
38 |
|
39 /*! |
|
40 Stub function. |
|
41 */ |
|
42 MMPXPlaybackUtility* MMPXPlaybackUtility::UtilityL(const TUid& aModeId) |
|
43 { |
|
44 Q_UNUSED(aModeId); |
|
45 static MMPXPlaybackUtility playbackUtilility; |
|
46 return &playbackUtilility; |
|
47 } |
|
48 |
|
49 /*! |
|
50 Stub function. |
|
51 */ |
|
52 void MMPXPlaybackUtility::Close() |
|
53 { |
|
54 } |
|
55 |
|
56 /*! |
|
57 Stub function. |
|
58 */ |
|
59 void MMPXPlaybackUtility::SetL(TMPXPlaybackProperty aProperty, TInt aValue) |
|
60 { |
|
61 iProperty = aProperty; |
|
62 iBalance = aValue; |
|
63 } |
|
64 |
|
65 //end of file |