|
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 AMR RTP payload format plugin. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include <e32std.h> |
|
24 #include <ecom/implementationproxy.h> |
|
25 #include <mmf/plugin/mmfformatimplementationuids.hrh> |
|
26 #include "avcpayloadformatwrite.h" |
|
27 #include "mccuids.hrh" |
|
28 |
|
29 // CONSTANTS |
|
30 |
|
31 // Exported proxy for instantiation method resolution |
|
32 // Define the interface UIDs |
|
33 #ifndef EKA2 |
|
34 const TImplementationProxy ImplementationTable[] = |
|
35 { |
|
36 {{KImplUidAvcPayloadFormatEncode}, CAvcPayloadFormatWrite::NewL} |
|
37 }; |
|
38 #else |
|
39 |
|
40 // Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's |
|
41 // ECom declarations (IMPLEMENTATION_PROXY_ENTRY that follows) |
|
42 /*lint -e611 */ |
|
43 |
|
44 const TImplementationProxy ImplementationTable[] = |
|
45 { |
|
46 IMPLEMENTATION_PROXY_ENTRY( KImplUidAvcPayloadFormatEncode, CAvcPayloadFormatWrite::NewL ) |
|
47 }; |
|
48 #endif |
|
49 |
|
50 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // ImplementationGroupProxy |
|
54 // |
|
55 // Function to return the implementation proxy table |
|
56 // ----------------------------------------------------------------------------- |
|
57 // |
|
58 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount ) |
|
59 { |
|
60 aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); |
|
61 |
|
62 return ImplementationTable; |
|
63 } |
|
64 |
|
65 // ----------------------------------------------------------------------------- |
|
66 // E32Dll |
|
67 // |
|
68 // DLL entry point |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 #ifndef EKA2 |
|
72 |
|
73 GLDEF_C TInt E32Dll ( TDllReason /*aReason*/ ) |
|
74 { |
|
75 return ( KErrNone ); |
|
76 } |
|
77 |
|
78 #endif |