equal
deleted
inserted
replaced
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
146 |
146 |
147 IMPORT_C static CMdaAudioToneUtility* NewL(MMdaAudioToneObserver& aObserver, CMdaServer* aServer = NULL); |
147 IMPORT_C static CMdaAudioToneUtility* NewL(MMdaAudioToneObserver& aObserver, CMdaServer* aServer = NULL); |
148 |
148 |
149 IMPORT_C static CMdaAudioToneUtility* NewL(MMdaAudioToneObserver& aObserver, CMdaServer* aServer, |
149 IMPORT_C static CMdaAudioToneUtility* NewL(MMdaAudioToneObserver& aObserver, CMdaServer* aServer, |
150 TInt aPriority, |
150 TInt aPriority, |
151 TMdaPriorityPreference aPref = EMdaPriorityPreferenceTimeAndQuality); |
151 TInt aPref = EMdaPriorityPreferenceTimeAndQuality); |
152 |
152 |
153 ~CMdaAudioToneUtility(); |
153 ~CMdaAudioToneUtility(); |
154 |
154 |
155 virtual TMdaAudioToneUtilityState State(); |
155 virtual TMdaAudioToneUtilityState State(); |
156 |
156 |
158 |
158 |
159 virtual TInt Volume(); |
159 virtual TInt Volume(); |
160 |
160 |
161 virtual void SetVolume(TInt aVolume); |
161 virtual void SetVolume(TInt aVolume); |
162 |
162 |
163 virtual void SetPriority(TInt aPriority, TMdaPriorityPreference aPref); |
163 virtual void SetPriority(TInt aPriority, TInt aPref); |
164 |
164 |
165 virtual void SetDTMFLengths(TTimeIntervalMicroSeconds32 aToneLength, |
165 virtual void SetDTMFLengths(TTimeIntervalMicroSeconds32 aToneLength, |
166 TTimeIntervalMicroSeconds32 aToneOffLength, |
166 TTimeIntervalMicroSeconds32 aToneOffLength, |
167 TTimeIntervalMicroSeconds32 aPauseLength); |
167 TTimeIntervalMicroSeconds32 aPauseLength); |
168 |
168 |