|
1 /* |
|
2 * Copyright (c) 2009 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: Ecom proxy definition for cmailhandlerplugin. |
|
15 * |
|
16 */ |
|
17 #include "emailtrace.h" |
|
18 #include <ecom/implementationproxy.h> |
|
19 #include "cmailcpshandler.h" |
|
20 #include "fsmailmtmhandler.h" |
|
21 #include "fsmailledhandler.h" |
|
22 #include "fsmailiconhandler.h" |
|
23 #include "fsmailsoundhandler.h" |
|
24 #include "cmailhandlerpluginuids.h" |
|
25 #include "fsmailoutofmemoryhandler.h" |
|
26 #include "fsmailmessagequeryhandler.h" |
|
27 #include "fsmailauthenticationhandler.h" |
|
28 |
|
29 // --------------------------------------------------------- |
|
30 // TImplementationProxy |
|
31 // --------------------------------------------------------- |
|
32 // |
|
33 const TImplementationProxy ImplementationTable[] = |
|
34 { |
|
35 #if !defined(FF_CMAIL_INTEGRATION) |
|
36 IMPLEMENTATION_PROXY_ENTRY( KCMailCpsHandlerUid, CMailCpsHandler::NewL ), |
|
37 #endif // FF_CMAIL_INTEGRATION |
|
38 IMPLEMENTATION_PROXY_ENTRY( KMessageQueryHandlerUid, CFSMailMessageQueryHandler::NewL ), |
|
39 IMPLEMENTATION_PROXY_ENTRY( KAuthenticationHandlerUid, CFSMailAuthenticationHandler::NewL ), |
|
40 IMPLEMENTATION_PROXY_ENTRY( KOutofMemoryHandlerUid, CFSMailOutOfMemoryHandler::NewL ), |
|
41 IMPLEMENTATION_PROXY_ENTRY( KMtmHandlerUid, CFSMailMtmHandler::NewL ), |
|
42 IMPLEMENTATION_PROXY_ENTRY( KLedHandlerUid, CFSMailLedHandler::NewL ), |
|
43 IMPLEMENTATION_PROXY_ENTRY( KSoundHandlerUid, CFSMailSoundHandler::NewL ), |
|
44 IMPLEMENTATION_PROXY_ENTRY( KMailIconHandlerUid, CFSMailIconHandler::NewL ), |
|
45 }; |
|
46 |
|
47 // ---------------------------------------------------- |
|
48 // ImplementationGroupProxy |
|
49 // |
|
50 // ---------------------------------------------------- |
|
51 // |
|
52 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount ) |
|
53 { |
|
54 FUNC_LOG; |
|
55 aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); |
|
56 return ImplementationTable; |
|
57 } |
|
58 |