|
1 /* |
|
2 * Copyright (c) 2004 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 implements resource file handling for AMR PlayControllerPlugin. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CAMRAUDIOPLAYCONTROLLERRESOURCE_H |
|
21 #define CAMRAUDIOPLAYCONTROLLERRESOURCE_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "AdvancedAudioResource.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * This class implements resource file handling functions. |
|
30 * |
|
31 * @lib AMRAudioPlayControllerPlugin.lib |
|
32 * @since 3.0 |
|
33 */ |
|
34 class CAMRAudioPlayControllerResource : public CAdvancedAudioResource |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 */ |
|
41 static CAMRAudioPlayControllerResource* NewL(); |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 virtual ~CAMRAudioPlayControllerResource(); |
|
47 |
|
48 private: // Functions from base classes |
|
49 |
|
50 /** |
|
51 * From CAdvancedAudioResource |
|
52 * Reads the configuration parameters for the AMR codec. |
|
53 * @since 3.0 |
|
54 * @param none |
|
55 * @return void |
|
56 */ |
|
57 void ReadCodecConfigParametersL(); |
|
58 |
|
59 private: |
|
60 |
|
61 /** |
|
62 * C++ default constructor. |
|
63 */ |
|
64 CAMRAudioPlayControllerResource(); |
|
65 |
|
66 /** |
|
67 * By default Symbian 2nd phase constructor is private. |
|
68 */ |
|
69 void ConstructL(); |
|
70 |
|
71 private: // Data |
|
72 |
|
73 }; |
|
74 |
|
75 #endif // CAMRAUDIOPLAYCONTROLLERRESOURCE_H |
|
76 |
|
77 // End of File |