|
1 /* |
|
2 * Copyright (c) 2002-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: This file contains the exported proxy for instantiation method |
|
15 * resolution for the G711 RTP payload format plugin. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include "g711payloadformatread.h" |
|
24 #include "g711payloadformatwrite.h" |
|
25 #include "mccuids.hrh" |
|
26 #include <e32std.h> |
|
27 #include <ecom/implementationproxy.h> |
|
28 |
|
29 // EXTERNAL DATA STRUCTURES |
|
30 |
|
31 // EXTERNAL FUNCTION PROTOTYPES |
|
32 |
|
33 // CONSTANTS |
|
34 |
|
35 // MACROS |
|
36 |
|
37 // LOCAL CONSTANTS AND MACROS |
|
38 |
|
39 // Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's |
|
40 // ECom declarations (IMPLEMENTATION_PROXY_ENTRY that follows) |
|
41 /*lint -e611 */ |
|
42 |
|
43 const TImplementationProxy ImplementationTable[] = |
|
44 { |
|
45 IMPLEMENTATION_PROXY_ENTRY( KImplUidG711PayloadFormatDecode, CG711PayloadFormatRead::NewL ), |
|
46 IMPLEMENTATION_PROXY_ENTRY( KImplUidG711PayloadFormatEncode, CG711PayloadFormatWrite::NewL ) |
|
47 }; |
|
48 |
|
49 // MODULE DATA STRUCTURES |
|
50 |
|
51 // LOCAL FUNCTION PROTOTYPES |
|
52 |
|
53 // FORWARD DECLARATIONS |
|
54 |
|
55 // ============================= LOCAL FUNCTIONS =============================== |
|
56 |
|
57 // ============================ MEMBER FUNCTIONS =============================== |
|
58 |
|
59 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
60 |
|
61 // ----------------------------------------------------------------------------- |
|
62 // ImplementationGroupProxy |
|
63 // |
|
64 // Function to return the implementation proxy table |
|
65 // ----------------------------------------------------------------------------- |
|
66 // |
|
67 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
68 { |
|
69 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
70 |
|
71 return ImplementationTable; |
|
72 } |
|
73 |
|
74 // End of File |