|
1 /* |
|
2 * Copyright (c) 2002-2004 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 // user includes |
|
19 #include "CalenDefaultEditors.h" |
|
20 #include "CalendarVariant.hrh" |
|
21 #include "CalenUids.hrh" |
|
22 |
|
23 // system includes |
|
24 #include <e32std.h> |
|
25 #include <ecom/implementationproxy.h> |
|
26 |
|
27 // debug |
|
28 #include "calendarui_debug.h" |
|
29 |
|
30 |
|
31 // ----------------------------------------------------------------------------- |
|
32 // Provides a key value pair table, this is used to identify |
|
33 // the correct construction function for the requested interface. |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 const TImplementationProxy ImplementationTable[] = |
|
37 { |
|
38 // Hide warning about cast implemented by IMPLEMENTATION_PROXY_ENTRY macro |
|
39 //lint -e{611} |
|
40 IMPLEMENTATION_PROXY_ENTRY(KCalenEditorsImplementation, CCalenDefaultEditors::NewL) |
|
41 }; |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // ImplementationGroupProxy() |
|
45 // Function used to return an instance of the proxy table. |
|
46 // (other items were commented in a header). |
|
47 // ----------------------------------------------------------------------------- |
|
48 // |
|
49 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
50 { |
|
51 TRACE_ENTRY_POINT; |
|
52 |
|
53 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
54 |
|
55 TRACE_EXIT_POINT; |
|
56 return ImplementationTable; |
|
57 } |
|
58 |
|
59 // End of file |