|
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: Implementation of MPresenceManagement |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "ximpobjectfactoryimp.h" |
|
19 #include "ximpstatusimp.h" |
|
20 #include "ximprestrictedobjectcollectionimp.h" |
|
21 #include "ximpobjectcollectionimp.h" |
|
22 #include "ximpidentityimp.h" |
|
23 #include "ximpdatasubscriptionstateimp.h" |
|
24 |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS ============================= |
|
27 |
|
28 // --------------------------------------------------------------------------- |
|
29 // CXIMPObjectFactoryImp::NewL() |
|
30 // --------------------------------------------------------------------------- |
|
31 // |
|
32 EXPORT_C CXIMPObjectFactoryImp* CXIMPObjectFactoryImp::NewL() |
|
33 { |
|
34 CXIMPObjectFactoryImp* self = new( ELeave ) CXIMPObjectFactoryImp; |
|
35 return self; |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------------------------- |
|
39 // Implement supported interface access. |
|
40 // --------------------------------------------------------------------------- |
|
41 // |
|
42 XIMPIMP_IF_BASE_GET_INTERFACE_BEGIN( CXIMPObjectFactoryImp, |
|
43 MXIMPObjectFactory ) |
|
44 XIMPIMP_IF_BASE_GET_INTERFACE_END() |
|
45 |
|
46 |
|
47 XIMPIMP_IF_BASE_GET_CONST_INTERFACE_BEGIN( CXIMPObjectFactoryImp, |
|
48 MXIMPObjectFactory ) |
|
49 XIMPIMP_IF_BASE_GET_INTERFACE_END() |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // CXIMPObjectFactoryImp::~CXIMPObjectFactoryImp() |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 CXIMPObjectFactoryImp::~CXIMPObjectFactoryImp() |
|
56 { |
|
57 #if _BullseyeCoverage |
|
58 cov_write(); |
|
59 #endif |
|
60 } |
|
61 |
|
62 |
|
63 // --------------------------------------------------------------------------- |
|
64 // CXIMPObjectFactoryImp::CXIMPObjectFactoryImp() |
|
65 // --------------------------------------------------------------------------- |
|
66 // |
|
67 CXIMPObjectFactoryImp::CXIMPObjectFactoryImp() |
|
68 { |
|
69 } |
|
70 |
|
71 |
|
72 // --------------------------------------------------------------------------- |
|
73 // CXIMPObjectFactoryImp::NewStatusLC() |
|
74 // --------------------------------------------------------------------------- |
|
75 // |
|
76 MXIMPStatus* CXIMPObjectFactoryImp::NewStatusLC() |
|
77 { |
|
78 return CXIMPStatusImp::NewLC(); |
|
79 } |
|
80 |
|
81 |
|
82 // --------------------------------------------------------------------------- |
|
83 // CXIMPObjectFactoryImp::NewIdentityLC() |
|
84 // --------------------------------------------------------------------------- |
|
85 // |
|
86 MXIMPIdentity* CXIMPObjectFactoryImp::NewIdentityLC() |
|
87 { |
|
88 return CXIMPIdentityImp::NewLC(); |
|
89 } |
|
90 |
|
91 |
|
92 // --------------------------------------------------------------------------- |
|
93 // CXIMPObjectFactoryImp::NewRestrictedObjectCollectionLC() |
|
94 // --------------------------------------------------------------------------- |
|
95 // |
|
96 MXIMPRestrictedObjectCollection* CXIMPObjectFactoryImp::NewRestrictedObjectCollectionLC() |
|
97 { |
|
98 return CXIMPRestrictedObjectCollectionImp::NewLC(); |
|
99 } |
|
100 |
|
101 |
|
102 // --------------------------------------------------------------------------- |
|
103 // CXIMPObjectFactoryImp::NewRestrictedObjectCollectionLC() |
|
104 // --------------------------------------------------------------------------- |
|
105 // |
|
106 MXIMPObjectCollection* CXIMPObjectFactoryImp::NewObjectCollectionLC() |
|
107 { |
|
108 return CXIMPObjectCollectionImp::NewLC(); |
|
109 } |
|
110 |
|
111 // --------------------------------------------------------------------------- |
|
112 // CXIMPObjectFactoryImp::NewRestrictedObjectCollectionLC() |
|
113 // --------------------------------------------------------------------------- |
|
114 // |
|
115 MXIMPDataSubscriptionState* CXIMPObjectFactoryImp::NewDataSubscriptionStateLC() |
|
116 { |
|
117 return CXIMPDataSubscriptionStateImp::NewLC(); |
|
118 } |
|
119 |
|
120 |