equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2002 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 audio player |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CMMADRMVOLUMECONTROL_H |
|
20 #define CMMADRMVOLUMECONTROL_H |
|
21 |
|
22 #include "cmmavolumecontrol.h" |
|
23 |
|
24 class CMMADRMAudioPlayer; |
|
25 |
|
26 // CLASS DEFINITION |
|
27 /* |
|
28 ----------------------------------------------------------------------------- |
|
29 |
|
30 DESCRIPTION |
|
31 This class is used for setting volume to DRM audio player |
|
32 |
|
33 ----------------------------------------------------------------------------- |
|
34 */ |
|
35 NONSHARABLE_CLASS(CMMADRMVolumeControl): public CMMAVolumeControl |
|
36 { |
|
37 public: |
|
38 static CMMADRMVolumeControl* NewL(CMMADRMAudioPlayer* aPlayer); |
|
39 |
|
40 protected: |
|
41 CMMADRMVolumeControl(CMMADRMAudioPlayer* aPlayer); |
|
42 void ConstructL(); |
|
43 |
|
44 |
|
45 public: // from CMMAVolumeControl |
|
46 void DoSetLevelL(TInt aLevel); |
|
47 TInt DoGetLevelL(); |
|
48 |
|
49 private: |
|
50 CMMADRMAudioPlayer* iPlayer; |
|
51 }; |
|
52 |
|
53 #endif // CMMADRMVOLUMECONTROL_H |
|