equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2005 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: This class is used for setting volume to tuner player |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "CAMMSTunerVolumeControl.h" |
|
22 #include "CAMMSTunerPlayer.h" |
|
23 |
|
24 #include <logger.h> |
|
25 |
|
26 |
|
27 CAMMSTunerVolumeControl::CAMMSTunerVolumeControl(CAMMSTunerPlayer* aTunerPlayer) |
|
28 : CMMAVolumeControl(aTunerPlayer) |
|
29 { |
|
30 iTunerPlayer = aTunerPlayer; |
|
31 } |
|
32 |
|
33 CAMMSTunerVolumeControl* CAMMSTunerVolumeControl::NewL(CAMMSTunerPlayer* aTunerPlayer) |
|
34 { |
|
35 LOG( EJavaAMMS, EInfo, "CAMMSTunerVolumeControl::NewL +"); |
|
36 CAMMSTunerVolumeControl* self = new(ELeave) CAMMSTunerVolumeControl(aTunerPlayer); |
|
37 |
|
38 CleanupStack::PushL(self); |
|
39 self->ConstructL(); |
|
40 CleanupStack::Pop(); |
|
41 |
|
42 return self; |
|
43 } |
|
44 |
|
45 void CAMMSTunerVolumeControl::DoSetLevelL(TInt aLevel) |
|
46 { |
|
47 LOG1( EJavaAMMS, EInfo, "CAMMSTunerVolumeControl::DoSetLevelL, aLevel = %d", aLevel); |
|
48 // TunerPlayer does not currently have SetVolumeL method |
|
49 User::Invariant(); |
|
50 } |
|
51 |
|
52 // End of File |
|