mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioStreamTestModule/src/AudioDataSettingsParams.cpp
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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: Audio Stream Test module |
|
15 * |
|
16 */ |
|
17 |
|
18 // AudioDataSettingsParams.cpp: implementation of the CAudioDataSettingsParams class. |
|
19 |
|
20 #include "AudioDataSettingsParams.h" |
|
21 |
|
22 CAudioDataSettingsParams* CAudioDataSettingsParams::NewLC(TInt aAction, TMdaAudioDataSettings *aSettings) |
|
23 { |
|
24 CAudioDataSettingsParams *__self = new (ELeave) CAudioDataSettingsParams(aAction, aSettings); |
|
25 CleanupStack::PushL(__self); |
|
26 return __self; |
|
27 } |
|
28 |
|
29 CAudioDataSettingsParams* CAudioDataSettingsParams::NewL(TInt aAction, TMdaAudioDataSettings *aSettings) |
|
30 { |
|
31 CAudioDataSettingsParams *__self = CAudioDataSettingsParams::NewLC(aAction, aSettings); |
|
32 CleanupStack::Pop(__self); |
|
33 return __self; |
|
34 } |
|
35 |
|
36 CAudioDataSettingsParams::CAudioDataSettingsParams(TInt aAction, TMdaAudioDataSettings *aSettings) : CParameters(aAction) , iSettings(aSettings) {} |
|
37 |
|
38 CAudioDataSettingsParams::~CAudioDataSettingsParams() |
|
39 { |
|
40 } |
|
41 |
|
42 TMdaAudioDataSettings *CAudioDataSettingsParams::GetSettings() |
|
43 { |
|
44 return iSettings; |
|
45 } |