|
1 /* |
|
2 * Copyright (c) 2002 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 the License "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: |
|
15 * Implementation of Scheme handler proxy table |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #include "FileHandler.h" |
|
22 #include "HttpHandler.h" |
|
23 #include "RtspHandler.h" |
|
24 #include "MailToHandler.h" |
|
25 #include "WtaiHandler.h" |
|
26 #include "TelHandler.h" |
|
27 #include "CtiHandler.h" |
|
28 #include "MmsHandler.h" |
|
29 #include <e32std.h> |
|
30 #include <SchemeDefs.hrh> |
|
31 #include <ImplementationProxy.h> |
|
32 |
|
33 // Exported proxy for instantiation method resolution |
|
34 // Define the interface UIDs |
|
35 const TImplementationProxy ImplementationTable[] = |
|
36 { |
|
37 IMPLEMENTATION_PROXY_ENTRY( SCHEME_FILE_IMP, CFileHandler::NewL ), |
|
38 IMPLEMENTATION_PROXY_ENTRY( SCHEME_HTTP_IMP, CHttpHandler::NewL ), |
|
39 IMPLEMENTATION_PROXY_ENTRY( SCHEME_HTTPS_IMP, CHttpHandler::NewL ), |
|
40 IMPLEMENTATION_PROXY_ENTRY( SCHEME_RTSP_IMP, CRtspHandler::NewL ), |
|
41 IMPLEMENTATION_PROXY_ENTRY( SCHEME_MAIL_TO_IMP, CMailToHandler::NewL ), |
|
42 IMPLEMENTATION_PROXY_ENTRY( SCHEME_WTAI_IMP, CWtaiHandler::NewL ), |
|
43 IMPLEMENTATION_PROXY_ENTRY( SCHEME_TEL_IMP, CTelHandler::NewL ), |
|
44 IMPLEMENTATION_PROXY_ENTRY( SCHEME_CTI_IMP, CCtiHandler::NewL ), |
|
45 IMPLEMENTATION_PROXY_ENTRY( SCHEME_MMS_IMP, CMmsHandler::NewL ) |
|
46 }; |
|
47 |
|
48 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
49 { |
|
50 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
51 |
|
52 return ImplementationTable; |
|
53 } |