|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include <e32std.h> |
|
17 #include <ecom/implementationproxy.h> |
|
18 #include "chttpclientheadercodec.h" |
|
19 #include "chttpgeneralheadercodec.h" |
|
20 #include "chttpdefaultheadercodec.h" |
|
21 #include "chttpserverheadercodec.h" |
|
22 |
|
23 const TInt KUidHttpClientHeaderCodec = 0x10272E5D; |
|
24 const TInt KUidHttpGeneralHeaderCodec = 0x10272E5E; |
|
25 const TInt KUidHttpDefaultHeaderCodec = 0x10272E5F; |
|
26 const TInt KUidHttpServerHeaderCodec = 0x10272E62; |
|
27 |
|
28 // Map the interface UIDs to implementation factory functions |
|
29 const TImplementationProxy ImplementationTable[] = |
|
30 { |
|
31 IMPLEMENTATION_PROXY_ENTRY(KUidHttpClientHeaderCodec, CHttpClientHeaderCodec::NewL), |
|
32 IMPLEMENTATION_PROXY_ENTRY(KUidHttpGeneralHeaderCodec, CHttpGeneralHeaderCodec::NewL), |
|
33 IMPLEMENTATION_PROXY_ENTRY(KUidHttpDefaultHeaderCodec, CHttpDefaultHeaderCodec::NewL), |
|
34 IMPLEMENTATION_PROXY_ENTRY(KUidHttpServerHeaderCodec, CHttpServerHeaderCodec::NewL) |
|
35 }; |
|
36 |
|
37 // Exported proxy for instantiation method resolution |
|
38 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
39 { |
|
40 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
41 return ImplementationTable; |
|
42 } |
|
43 |
|
44 #ifndef EKA2 |
|
45 GLDEF_C TInt E32Dll(TDllReason /*aReason*/) |
|
46 { |
|
47 return(KErrNone); |
|
48 } |
|
49 #endif // EKA2 |