audiostubs/devsoundextensions_stubs/audioeffectscistubs/distanceattenuationcistub/inc/DistanceAttenuationCI.h
equal
deleted
inserted
replaced
|
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: Audio Stubs - This is the definition of the DistanceAttenuation Custom Interface class. |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include <DistanceAttenuationBase.h> |
|
21 #include <MDistanceAttenuationObserver.h> |
|
22 |
|
23 class CMMFDevSound; |
|
24 |
|
25 class CDistanceAttenuationCI : public CDistanceAttenuation |
|
26 { |
|
27 public: // Constructor and Destructor |
|
28 |
|
29 /** |
|
30 * Two-phased constructor. |
|
31 */ |
|
32 IMPORT_C static CDistanceAttenuationCI* NewL(CMMFDevSound& aDevSound); |
|
33 |
|
34 /** |
|
35 * Destructor. |
|
36 */ |
|
37 virtual ~CDistanceAttenuationCI(); |
|
38 |
|
39 /** |
|
40 * From CAudioEffect |
|
41 * Apply effect settings |
|
42 * @since 3.0 |
|
43 */ |
|
44 virtual void ApplyL(); |
|
45 |
|
46 IMPORT_C static CDistanceAttenuationCI* NewL(); |
|
47 |
|
48 private: |
|
49 |
|
50 /** |
|
51 * C++ default constructor. |
|
52 */ |
|
53 CDistanceAttenuationCI(CMMFDevSound& aDevSound); |
|
54 CDistanceAttenuationCI(); |
|
55 |
|
56 private: // Data |
|
57 |
|
58 CMMFDevSound* iDevSound; |
|
59 }; |