1 /* |
1 /* |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
14 * Description: ECom impementation proxy for Email client API |
14 * Description: ECom impementation proxy for Email client API |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include "emailclientapiimpl.hrh" |
18 #include "emailclientapiimpl.hrh" |
19 #include "emailclientapiimpl.h" |
19 #include "emailclientapiimpl.h" |
20 #include "emailinterfacefactoryimpl.h" |
20 #include "emailinterfacefactoryimpl.h" |
21 #include <implementationproxy.h> //TImplementationProxy |
21 #include <ecom/implementationproxy.h> //TImplementationProxy |
22 |
22 |
23 // ----------------------------------------------------------------------------- |
23 /** |
24 // Defines the pairing required by the ECOM framework to correctly identify the |
24 * Defines the pairing required by the ECOM framework to correctly identify the |
25 // instantiation method pointer for client's request. |
25 * instantiation method pointer for client's request. |
26 // ----------------------------------------------------------------------------- |
26 */ |
27 const TImplementationProxy ImplementationTable[] = |
27 const TImplementationProxy ImplementationTable[] = |
28 { |
28 { |
29 IMPLEMENTATION_PROXY_ENTRY( |
29 IMPLEMENTATION_PROXY_ENTRY( |
30 KEmailClientApiImplUid, |
30 KEmailClientApiImplUid, |
31 CEmailInterfaceFactoryImpl::NewL ) |
31 CEmailInterfaceFactoryImpl::NewL ) |
32 }; |
32 }; |
33 |
33 |
34 // ----------------------------------------------------------------------------- |
34 /** |
35 // Returns the TImplementationProxy for email client api implementation |
35 * Returns the TImplementationProxy for email client api implementation |
36 // ----------------------------------------------------------------------------- |
36 */ |
37 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount ) |
37 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
38 { |
38 { |
39 aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); |
39 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
40 |
40 |
41 return ImplementationTable; |
41 return ImplementationTable; |
42 } |
42 } |
43 |
43 |
44 // End of file |
44 // End of file. |