|
1 /* |
|
2 * Copyright (c) 2002-2005 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 // INCLUDE FILES |
|
26 #include <e32std.h> |
|
27 #include <ecom/implementationproxy.h> |
|
28 #include "sentruncatetransform.h" |
|
29 #include "senlowercasetransform.h" |
|
30 #include "senuppercasetransform.h" |
|
31 #include "senselecttransform.h" |
|
32 |
|
33 #ifndef RD_SEN_COMPILE_SIS_PACKAGE_FILES |
|
34 const TInt32 KTruncateTransformPluginUid = 0x101F9708; |
|
35 const TInt32 KLowercaseTransformPluginUid = 0x101F9709; |
|
36 const TInt32 KUppercaseTransformPluginUid = 0x101F970A; |
|
37 const TInt32 KSelectTransformPluginUid = 0x101F970B; |
|
38 |
|
39 #else |
|
40 |
|
41 const TInt32 KTruncateTransformPluginUid = 0x101F973E; |
|
42 const TInt32 KLowercaseTransformPluginUid = 0x101F973F; |
|
43 const TInt32 KUppercaseTransformPluginUid = 0x101F9740; |
|
44 const TInt32 KSelectTransformPluginUid = 0x101F9741; |
|
45 #endif |
|
46 // Provides a key value pair table, this is used to identify |
|
47 // the correct construction function for the requested interface. |
|
48 const TImplementationProxy ImplementationTable[] = |
|
49 { |
|
50 #ifdef IMPLEMENTATION_PROXY_ENTRY |
|
51 IMPLEMENTATION_PROXY_ENTRY(KTruncateTransformPluginUid, CSenTruncateTransform::NewL), |
|
52 IMPLEMENTATION_PROXY_ENTRY(KLowercaseTransformPluginUid, CSenLowercaseTransform::NewL), |
|
53 IMPLEMENTATION_PROXY_ENTRY(KUppercaseTransformPluginUid, CSenUppercaseTransform::NewL), |
|
54 IMPLEMENTATION_PROXY_ENTRY(KSelectTransformPluginUid, CSenSelectTransform::NewL) |
|
55 #else |
|
56 {{KTruncateTransformPluginUid}, CSenTruncateTransform::NewL}, |
|
57 {{KLowercaseTransformPluginUid}, CSenLowercaseTransform::NewL}, |
|
58 {{KUppercaseTransformPluginUid}, CSenUppercaseTransform::NewL}, |
|
59 {{KSelectTransformPluginUid}, CSenSelectTransform::NewL} |
|
60 #endif |
|
61 }; |
|
62 |
|
63 // Function used to return an instance of the proxy table. |
|
64 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( |
|
65 TInt& aTableCount) |
|
66 { |
|
67 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
68 return ImplementationTable; |
|
69 } |
|
70 |
|
71 // End of File |