|
1 /* |
|
2 * Copyright (c) 2006 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: Table of plugins for ECom |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include <implementationproxy.h> |
|
24 |
|
25 #include "presencedmadapter.h" |
|
26 #include "presencedmlogger.h" |
|
27 |
|
28 const TUint KPresDMAdapterUid = 0x10282416; |
|
29 |
|
30 // ----------------------------------------------------------------------------- |
|
31 // TImplementationProxy ImplementationTable[] |
|
32 // Needed because of ECOM architecture |
|
33 // ----------------------------------------------------------------------------- |
|
34 const TImplementationProxy ImplementationTable[] = |
|
35 { |
|
36 #ifdef __EABI__ |
|
37 IMPLEMENTATION_PROXY_ENTRY( KPresDMAdapterUid, CPresenceDMAdapter::NewL ) |
|
38 #else |
|
39 { { KPresDMAdapterUid }, CPresenceDMAdapter::NewL }, |
|
40 #endif |
|
41 }; |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // ImplementationGroupProxy() |
|
45 // Needed because of ECOM architecture |
|
46 // ----------------------------------------------------------------------------- |
|
47 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& |
|
48 aTableCount ) |
|
49 { |
|
50 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
51 PRES_DM_LOG(LOG_LIT8("CPresenceDMAdapter:ImplementationGroupProxy")); |
|
52 return ImplementationTable; |
|
53 } |