1 /* |
1 /* |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Defines VoIP DTMF tone player APIs. |
14 * Description: Defines VoIP DTMF tone player APIs. |
15 * |
15 * |
16 */ |
16 */ |
17 |
|
18 |
17 |
19 #ifndef __VOIPDTMFTONEPLAYER_H |
18 #ifndef __VOIPDTMFTONEPLAYER_H |
20 #define __VOIPDTMFTONEPLAYER_H |
19 #define __VOIPDTMFTONEPLAYER_H |
21 |
|
22 |
20 |
23 // FORWARD DECLARATIONS |
21 // FORWARD DECLARATIONS |
24 class CVoIPAudioUplinkStream; |
22 class CVoIPAudioUplinkStream; |
25 class CVoIPAudioDownlinkStream; |
23 class CVoIPAudioDownlinkStream; |
26 class CDTMFTonePlayer; |
24 class CDTMFTonePlayer; |
27 class CDTMFTonePlayerImpl; |
25 class CDTMFTonePlayerImpl; |
28 |
26 |
29 |
|
30 /** |
27 /** |
31 * MDTMFToneObserver class |
28 * MDTMFToneObserver class |
32 * |
29 * |
33 * ?more_complete_description |
30 * ?more_complete_description |
34 * |
31 * |
35 * @lib VoIPAudioIntfc.dll |
32 * @lib VoIPAudioIntfc.dll |
36 * @since S60 v5.0 |
33 * |
37 */ |
34 */ |
38 class MDTMFToneObserver |
35 class MDTMFToneObserver |
39 { |
36 { |
40 public: |
37 public: |
41 static const TUint KOpenCompleteDNL = 1; |
38 static const TUint KOpenCompleteDNL = 1; |
49 * @param CDTMFTonePlayer& - DTMF tone player reference |
46 * @param CDTMFTonePlayer& - DTMF tone player reference |
50 * @param TInt - Event type |
47 * @param TInt - Event type |
51 * @param TInt - Status |
48 * @param TInt - Status |
52 * @return void |
49 * @return void |
53 */ |
50 */ |
54 virtual void Event(const CDTMFTonePlayer& aPlayer, |
51 virtual void Event(const CDTMFTonePlayer& aPlayer, TInt aEventType, |
55 TInt aEventType, |
52 TInt aError) = 0; |
56 TInt aError) = 0; |
|
57 }; |
53 }; |
58 |
|
59 |
54 |
60 /** |
55 /** |
61 * CDTMFTonePlayer class |
56 * CDTMFTonePlayer class |
62 * |
57 * |
63 * DTMF Tone Player class |
58 * DTMF Tone Player class |
64 * |
59 * |
65 * @lib VoIPAudioIntfc.dll |
60 * @lib VoIPAudioIntfc.dll |
66 * @since S60 v5.0 |
61 * |
67 */ |
62 */ |
68 class CDTMFTonePlayer |
63 class CDTMFTonePlayer |
69 { |
64 { |
70 public: |
65 public: |
71 |
66 |