|
1 /* |
|
2 * Copyright (c) 2006 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 file contains the exported proxy for instantiation method |
|
15 * resolution for the DTMF RTP payload format plugin. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <ecom/implementationproxy.h> |
|
25 #include "dtmfpayloadformatuids.hrh" |
|
26 #include "dtmfpayloadformatread.h" |
|
27 #include "dtmfpayloadformatwrite.h" |
|
28 |
|
29 // LOCAL CONSTANTS AND MACROS |
|
30 |
|
31 // Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's |
|
32 // ECom declarations (IMPLEMENTATION_PROXY_ENTRY that follows) |
|
33 /*lint -e611 */ |
|
34 |
|
35 const TImplementationProxy ImplementationTable[] = |
|
36 { |
|
37 IMPLEMENTATION_PROXY_ENTRY( KImplUidDTMFPayloadFormatDecode, CDTMFPayloadFormatRead::NewL ), |
|
38 IMPLEMENTATION_PROXY_ENTRY( KImplUidDTMFPayloadFormatEncode, CDTMFPayloadFormatWrite::NewL ) |
|
39 }; |
|
40 |
|
41 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // ImplementationGroupProxy |
|
45 // Function to return the implementation proxy table |
|
46 // ----------------------------------------------------------------------------- |
|
47 // |
|
48 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( |
|
49 TInt& aTableCount ) |
|
50 { |
|
51 aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); |
|
52 |
|
53 return ImplementationTable; |
|
54 } |
|
55 |
|
56 // End of file |