|
1 /* |
|
2 * Copyright (c) 2010 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: Easy dialing DLL main. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 |
|
21 #include <e32std.h> |
|
22 #include <implementationproxy.h> |
|
23 #include "easydialingplugin.h" |
|
24 #include "easydialingconstants.hrh" |
|
25 |
|
26 |
|
27 // EXTERNAL DATA STRUCTURES |
|
28 |
|
29 // EXTERNAL FUNCTION PROTOTYPES |
|
30 |
|
31 // CONSTANTS |
|
32 |
|
33 // MACROS |
|
34 |
|
35 // LOCAL CONSTANTS AND MACROS |
|
36 |
|
37 const TImplementationProxy ImplementationTable[] = |
|
38 { |
|
39 #ifdef __EABI__ |
|
40 IMPLEMENTATION_PROXY_ENTRY( EASYDIALING_PLUGIN_ECOM_IMPL_UID, CEasyDialingPlugin::NewL ) |
|
41 #else |
|
42 {{EASYDIALING_PLUGIN_ECOM_IMPL_UID}, CEasyDialingPlugin::NewL } |
|
43 #endif |
|
44 }; |
|
45 |
|
46 // MODULE DATA STRUCTURES |
|
47 |
|
48 // LOCAL FUNCTION PROTOTYPES |
|
49 |
|
50 // FORWARD DECLARATIONS |
|
51 |
|
52 // ============================= LOCAL FUNCTIONS =============================== |
|
53 |
|
54 // --------------------------------------------------------- |
|
55 // ImplementationGroupProxy |
|
56 // |
|
57 // Provides a key value pair table, this is used to identify |
|
58 // Function used to return an instance of the proxy table. |
|
59 // the correct construction function for the requested interface. |
|
60 // --------------------------------------------------------- |
|
61 // |
|
62 EXPORT_C const TImplementationProxy* ImplementationGroupProxy (TInt& aTableCount) |
|
63 { |
|
64 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
65 return ImplementationTable; |
|
66 } |
|
67 |
|
68 // --------------------------------------------------------- |
|
69 // E32Dll |
|
70 // |
|
71 // Standard Symbian OS DLL entry point. |
|
72 // --------------------------------------------------------- |
|
73 // |
|
74 #ifndef EKA2 |
|
75 TBool E32Dll(TDllReason) |
|
76 { |
|
77 return ETrue; |
|
78 } |
|
79 #endif // EKA2 |