|
1 /* |
|
2 * Copyright (c) 2007 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: Implementation of objectfactory |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #include "searchobjectfactoryimp.h" |
|
21 |
|
22 #include "searchelementimp.h" |
|
23 #include "searchinfoimp.h" |
|
24 #include "searchkeyinfoimp.h" |
|
25 |
|
26 |
|
27 // ============================ MEMBER FUNCTIONS ============================= |
|
28 |
|
29 // --------------------------------------------------------------------------- |
|
30 // CSearchObjectFactoryImp::NewL() |
|
31 // --------------------------------------------------------------------------- |
|
32 // |
|
33 EXPORT_C CSearchObjectFactoryImp* CSearchObjectFactoryImp::NewL() |
|
34 { |
|
35 CSearchObjectFactoryImp* self = new( ELeave ) CSearchObjectFactoryImp; |
|
36 return self; |
|
37 |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // Implement supported interface access. |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 XIMPIMP_IF_BASE_GET_INTERFACE_BEGIN( CSearchObjectFactoryImp, |
|
45 MSearchObjectFactory ) |
|
46 XIMPIMP_IF_BASE_GET_INTERFACE_END() |
|
47 |
|
48 |
|
49 XIMPIMP_IF_BASE_GET_CONST_INTERFACE_BEGIN( CSearchObjectFactoryImp, |
|
50 MSearchObjectFactory ) |
|
51 XIMPIMP_IF_BASE_GET_INTERFACE_END() |
|
52 |
|
53 // --------------------------------------------------------------------------- |
|
54 // CSearchObjectFactoryImp::~CSearchObjectFactoryImp() |
|
55 // --------------------------------------------------------------------------- |
|
56 // |
|
57 CSearchObjectFactoryImp::~CSearchObjectFactoryImp() |
|
58 { |
|
59 } |
|
60 |
|
61 |
|
62 // --------------------------------------------------------------------------- |
|
63 // CSearchObjectFactoryImp::CSearchObjectFactoryImp() |
|
64 // --------------------------------------------------------------------------- |
|
65 // |
|
66 CSearchObjectFactoryImp::CSearchObjectFactoryImp() |
|
67 { |
|
68 } |
|
69 |
|
70 |
|
71 |
|
72 // --------------------------------------------------------------------------- |
|
73 // CSearchObjectFactoryImp::NewSearchElementLC() |
|
74 // --------------------------------------------------------------------------- |
|
75 // |
|
76 MSearchElement* CSearchObjectFactoryImp::NewSearchElementLC() |
|
77 { |
|
78 return CSearchElementImp::NewLC(); |
|
79 } |
|
80 |
|
81 // --------------------------------------------------------------------------- |
|
82 // CSearchObjectFactoryImp::NewSearchInfoLC() |
|
83 // --------------------------------------------------------------------------- |
|
84 // |
|
85 MSearchInfo* CSearchObjectFactoryImp::NewSearchInfoLC() |
|
86 { |
|
87 return CSearchInfoImp::NewLC(); |
|
88 } |
|
89 |
|
90 // --------------------------------------------------------------------------- |
|
91 // CSearchObjectFactoryImp::NewSupportedSearchKeyLC() |
|
92 // --------------------------------------------------------------------------- |
|
93 // |
|
94 MSearchKeyInfo* CSearchObjectFactoryImp::NewSearchKeyInfoLC() |
|
95 { |
|
96 return CSearchKeyInfoImp::NewLC(); |
|
97 } |
|
98 |
|
99 |