author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 14 Sep 2010 22:59:08 +0300 | |
branch | RCL_3 |
changeset 46 | 5146369cfdc9 |
parent 34 | 5dae2c62e9b6 |
permissions | -rw-r--r-- |
5 | 1 |
/* |
2 |
* Copyright (c) 2006-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 the License "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: Implements callback methods which is called my core dll call |
|
15 |
* callback methods. |
|
16 |
* |
|
17 |
*/ |
|
18 |
||
19 |
#include <liwserviceifbase.h> |
|
23
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
20 |
#include <liwcommon.h> |
5 | 21 |
#include "locationinterface.h" |
22 |
#include "locationservice.h" |
|
23 |
#include "locationcb.h" |
|
24 |
||
25 |
using namespace LIW; |
|
26 |
||
27 |
/** |
|
28 |
* Default constructor |
|
29 |
*/ |
|
30 |
||
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
31 |
LocationInterfaceCB ::LocationInterfaceCB():iCallBack(NULL), |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
32 |
iOutParmList(NULL), |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
33 |
iInParmList(NULL), |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
34 |
iTransactionId(0) |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
35 |
{ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
36 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
37 |
} |
5 | 38 |
|
39 |
/** |
|
40 |
* OverLoaded constructor which accepts the callback adderss |
|
41 |
* and registers it |
|
42 |
*/ |
|
43 |
||
44 |
LocationInterfaceCB :: LocationInterfaceCB( MLiwNotifyCallback* aCallBack , |
|
45 |
const CLiwGenericParamList* aInParmList , |
|
19 | 46 |
//TPositionModuleInfo* aPositionModuleInfo , |
5 | 47 |
TInt32 aTransactionId ) : iCallBack(aCallBack), |
48 |
iTransactionId(aTransactionId) |
|
49 |
{ |
|
19 | 50 |
//iModuleInfo = aPositionModuleInfo ; |
5 | 51 |
|
52 |
//Extract the location info category from inputparamlist |
|
53 |
TInt index = 0; |
|
54 |
const TLiwGenericParam *smapparam = aInParmList->FindFirst(index , KLocationInfoCategory) ; |
|
55 |
TPtrC argposInfoCategory(KLocationBasicinfo) ; |
|
56 |
||
57 |
if(index != KErrNotFound) |
|
58 |
{ |
|
59 |
||
60 |
//posInfoCategory = (smapparam->Value()).AsDes() ; |
|
61 |
argposInfoCategory.Set( (smapparam->Value()).AsDes() ); |
|
62 |
} |
|
63 |
||
64 |
||
65 |
iLocinfoCategory = EBasicInfo; |
|
66 |
if ( argposInfoCategory == KLocationGenericInfo ) |
|
67 |
{ |
|
68 |
iLocinfoCategory = EGenericInfo; |
|
69 |
} |
|
70 |
} |
|
71 |
||
72 |
/** |
|
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
73 |
* Default destructor |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
74 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
75 |
LocationInterfaceCB :: ~LocationInterfaceCB() |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
76 |
{ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
77 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
78 |
delete iOutParmList; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
79 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
80 |
} |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
81 |
/** |
5 | 82 |
* overloaded NewL function for creating local call back objects |
83 |
* as required by locationinterface.cpp |
|
84 |
*/ |
|
85 |
||
86 |
LocationInterfaceCB *LocationInterfaceCB :: NewL(MLiwNotifyCallback* aCallBack , |
|
87 |
const CLiwGenericParamList* aInParmList , |
|
19 | 88 |
//TPositionModuleInfo* aPositionModuleInfo, |
5 | 89 |
TInt32 aTransactionid ) |
90 |
{ |
|
91 |
LocationInterfaceCB *self = new(ELeave) LocationInterfaceCB(aCallBack , aInParmList , |
|
19 | 92 |
/*aPositionModuleInfo,*/ aTransactionid) ; |
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
93 |
CleanupStack::PushL(self); |
5 | 94 |
|
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
95 |
//Store the outparam and in param list |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
96 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
97 |
self->iOutParmList = CLiwGenericParamList::NewL(); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
98 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
99 |
//Currently we dont use inputparam list, but when need it has to be |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
100 |
//initalised as done above for iOutParamList |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
101 |
self->iInParmList = self->iOutParmList; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
102 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
103 |
CleanupStack::Pop(self); |
5 | 104 |
return self ; |
105 |
} |
|
106 |
||
107 |
/** |
|
108 |
* implementation of HandleNotifyL function derived from LocationInterfaceCB |
|
109 |
*/ |
|
110 |
||
111 |
TInt LocationInterfaceCB :: HandleNotifyL(HPositionGenericInfo* aGenericInfo , TInt aError) |
|
112 |
{ |
|
113 |
||
114 |
iOutParmList->Reset() ; |
|
115 |
TInt err = CLocationInterface :: ConvertToSapiError(aError) ; |
|
116 |
||
117 |
TLiwGenericParam errorParm(KErrorCode , TLiwVariant((TInt32)err)) ; |
|
118 |
iOutParmList->AppendL(errorParm) ; |
|
119 |
||
120 |
if(aError) //if Error then return the error code to user |
|
121 |
{ |
|
122 |
||
123 |
iCallBack->HandleNotifyL(iTransactionId , KLiwEventError , *iOutParmList , *iInParmList) ; |
|
124 |
//delete this ; |
|
125 |
return KErrGeneral ; |
|
126 |
} |
|
127 |
||
128 |
||
129 |
TRAPD(error , HandleL(aGenericInfo , aError)) |
|
130 |
||
131 |
if(error != KErrNone) |
|
132 |
{ |
|
133 |
iCallBack->HandleNotifyL(iTransactionId , KLiwEventError , *iOutParmList , *iInParmList) ; |
|
134 |
//delete this ; |
|
135 |
return KErrGeneral ; |
|
136 |
} |
|
137 |
||
138 |
||
139 |
||
140 |
//For GetLocation notify user with EventCompleted Notification and for trace |
|
141 |
//Notify user with Event in progress notification |
|
142 |
if(iRequestType == KGetLocationCB) |
|
143 |
{ |
|
144 |
iCallBack->HandleNotifyL(iTransactionId , KLiwEventCompleted , *iOutParmList , *iInParmList ) ; |
|
145 |
} |
|
146 |
else |
|
147 |
{ |
|
148 |
iCallBack->HandleNotifyL(iTransactionId , KLiwEventInProgress , *iOutParmList , *iInParmList ) ; |
|
149 |
} |
|
150 |
||
151 |
||
152 |
||
153 |
return KErrNone ; |
|
154 |
} |
|
155 |
||
156 |
/** |
|
157 |
* LocationInterfaceCB :: HandleL(): An internal utility function that encapsulates |
|
158 |
* all the leaving methods. This function is called by HandleNotifyL method |
|
159 |
*/ |
|
160 |
||
161 |
void LocationInterfaceCB :: HandleL(HPositionGenericInfo* aGenericInfo , TInt /*aError*/) |
|
162 |
{ |
|
163 |
CLiwDefaultMap *result = CLiwDefaultMap::NewL() ; |
|
164 |
CleanupStack :: PushL(result) ; |
|
165 |
//Now insert the collected position informaiton(latitude, longitude , and altitude into a default map |
|
166 |
TPosition pos ; |
|
167 |
||
168 |
aGenericInfo->GetPosition(pos) ; |
|
169 |
||
170 |
TReal32 Val = pos.Longitude() ; |
|
171 |
||
172 |
result->InsertL(KLongitudeKey , TLiwVariant((TReal)Val)) ; //Inserting longitude |
|
173 |
||
174 |
||
175 |
Val = pos.Latitude() ; |
|
176 |
result->InsertL(KLatitudeKey , TLiwVariant((TReal)Val)) ; //Inserting latitude into map |
|
177 |
||
178 |
Val = pos.Altitude() ; |
|
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
179 |
if (!(Math::IsNaN(Val))) |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
180 |
{ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
181 |
result->InsertL(KAltitudeKey , TLiwVariant((TReal)Val)) ; //Inserting altitude into map |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
182 |
} |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
183 |
//TLiwVariant resVar(result) ; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
184 |
TReal32 Val1; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
185 |
Val1 = pos.HorizontalAccuracy(); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
186 |
if (!(Math::IsNaN(Val1))) |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
187 |
{ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
188 |
result->InsertL(KHorAccuracy, TLiwVariant((TReal)Val1)) ; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
189 |
} |
5 | 190 |
|
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
191 |
Val1 = pos.VerticalAccuracy(); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
192 |
if (!(Math::IsNaN(Val1))) |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
193 |
{ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
194 |
result->InsertL(KVerAccuracy, TLiwVariant((TReal)Val1)) ; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
195 |
} |
5 | 196 |
|
19 | 197 |
//TPositionModuleInfo :: TCapabilities currCapability = iModuleInfo->Capabilities() ; |
5 | 198 |
|
199 |
if ( iLocinfoCategory == EGenericInfo ) |
|
200 |
{ |
|
19 | 201 |
|
5 | 202 |
TReal32 speedinfo = 0 ; |
203 |
||
204 |
if(!aGenericInfo->GetValue(EPositionFieldHorizontalSpeed , speedinfo) ) //Extract speed |
|
205 |
{ |
|
206 |
result->InsertL(KPositionFieldHorizontalSpeed,TLiwVariant((TReal)speedinfo)); |
|
207 |
||
208 |
} |
|
209 |
||
210 |
if(!aGenericInfo->GetValue(EPositionFieldHorizontalSpeedError , speedinfo)) |
|
211 |
{ |
|
212 |
result->InsertL(KPositionFieldHorizontalSpeedError,TLiwVariant((TReal)speedinfo)); |
|
213 |
} |
|
214 |
||
215 |
||
216 |
||
217 |
||
218 |
||
219 |
TInt8 satinfo = 0; |
|
220 |
||
221 |
if(!aGenericInfo->GetValue(EPositionFieldSatelliteNumInView , satinfo)) |
|
222 |
{ |
|
223 |
result->InsertL(KPositionFieldSatelliteNumInView,TLiwVariant((TReal)satinfo)); |
|
224 |
} |
|
225 |
if(!aGenericInfo->GetValue(EPositionFieldSatelliteNumUsed , satinfo)) |
|
226 |
{ |
|
227 |
result->InsertL(KPositionFieldSatelliteNumUsed ,TLiwVariant((TReal) satinfo)) ; |
|
228 |
} |
|
229 |
||
230 |
||
19 | 231 |
|
5 | 232 |
|
16
44bb89c96acb
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
10
diff
changeset
|
233 |
TReal32 direcinfo = 0; |
5 | 234 |
|
235 |
if(!aGenericInfo->GetValue(EPositionFieldTrueCourse , direcinfo) ) |
|
236 |
{ |
|
237 |
result->InsertL(KPositionFieldTrueCourse,TLiwVariant((TReal)direcinfo)); |
|
238 |
//iOutParmList->AppendL(TLiwGenericParam(KPositionFieldTrueCourse , TLiwVariant((TInt32)direcinfo))) ; |
|
239 |
} |
|
240 |
||
241 |
||
242 |
if(!aGenericInfo->GetValue(EPositionFieldTrueCourseError , direcinfo) ) |
|
243 |
{ |
|
244 |
result->InsertL(KPositionFieldTrueCourseError,TLiwVariant((TReal)direcinfo)); |
|
245 |
//iOutParmList->AppendL(TLiwGenericParam(KPositionFieldTrueCourseError , TLiwVariant((TInt32)direcinfo))) ; |
|
246 |
} |
|
247 |
||
248 |
||
249 |
if(!aGenericInfo->GetValue(EPositionFieldMagneticCourseError , direcinfo) ) |
|
250 |
{ |
|
251 |
result->InsertL(KPositionFieldTrueCourseError,TLiwVariant((TReal)direcinfo)); |
|
252 |
//iOutParmList->AppendL(TLiwGenericParam(KPositionFieldMagneticCourseError , TLiwVariant((TInt32)direcinfo))) ; |
|
253 |
} |
|
254 |
||
255 |
if(!aGenericInfo->GetValue(EPositionFieldMagneticCourse , direcinfo) ) |
|
256 |
{ |
|
257 |
result->InsertL(KPositionFieldMagneticCourse,TLiwVariant((TReal)direcinfo)); |
|
258 |
||
259 |
} |
|
260 |
||
19 | 261 |
|
16
44bb89c96acb
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
10
diff
changeset
|
262 |
TReal32 compassinfo ; |
5 | 263 |
|
264 |
if(!aGenericInfo->GetValue(EPositionFieldHeading , compassinfo) ) |
|
265 |
{ |
|
266 |
result->InsertL(KPositionFieldHeading,TLiwVariant((TReal)compassinfo)); |
|
19 | 267 |
|
5 | 268 |
} |
269 |
||
270 |
||
271 |
if(!aGenericInfo->GetValue(EPositionFieldHeadingError , compassinfo) ) |
|
272 |
{ |
|
273 |
result->InsertL(KPositionFieldHeadingError,TLiwVariant((TReal)compassinfo)); |
|
274 |
||
275 |
} |
|
276 |
||
277 |
if(!aGenericInfo->GetValue(EPositionFieldMagneticHeading , compassinfo) ) |
|
278 |
{ |
|
279 |
result->InsertL(KPositionFieldMagneticHeading,TLiwVariant((TReal)compassinfo)); |
|
280 |
||
281 |
} |
|
282 |
||
283 |
||
284 |
||
285 |
if(!aGenericInfo->GetValue(EPositionFieldMagneticHeadingError , compassinfo) ) |
|
286 |
{ |
|
287 |
result->InsertL(KPositionFieldMagneticHeadingError,TLiwVariant((TReal)compassinfo)); |
|
288 |
||
289 |
} |
|
290 |
||
34
5dae2c62e9b6
Revision: 201009
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
291 |
|
5dae2c62e9b6
Revision: 201009
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
292 |
|
5dae2c62e9b6
Revision: 201009
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
293 |
|
5dae2c62e9b6
Revision: 201009
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
294 |
TTime timeReceived = pos.Time();//this is time from Jan 1 0AD |
5dae2c62e9b6
Revision: 201009
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
295 |
|
5dae2c62e9b6
Revision: 201009
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
296 |
result->InsertL(KTime,TLiwVariant(timeReceived)); |
5dae2c62e9b6
Revision: 201009
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
297 |
|
5dae2c62e9b6
Revision: 201009
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
298 |
|
5 | 299 |
|
300 |
/*if( currCapability & TPositionModuleInfo :: ECapabilityNmea ) //Extract Nmea info if any and append it |
|
301 |
{ //as part of out param list |
|
302 |
TUint8 numSentences ; |
|
303 |
||
304 |
if(!aGenericInfo->GetValue(EPositionFieldNMEASentences , numSentences) ) |
|
305 |
{ |
|
306 |
result->InsertL(KPositionFieldNMEASentences,TLiwVariant((TReal)numSentences)); |
|
307 |
||
308 |
} |
|
309 |
||
310 |
||
311 |
TBuf8 <20> nmeaSentences ; |
|
312 |
||
313 |
if(!aGenericInfo->GetValue(EPositionFieldNMEASentencesStart , nmeaSentences) ) |
|
314 |
{ |
|
315 |
result->InsertL(KPositionFieldNMEASentencesStart,TLiwVariant(nmeaSentences)); |
|
316 |
||
317 |
} |
|
318 |
}*/ |
|
319 |
||
320 |
} |
|
321 |
TLiwGenericParam outParm(KLocationMap , TLiwVariant(result)) ; |
|
322 |
||
323 |
iOutParmList->AppendL(outParm) ; |
|
324 |
CleanupStack :: Pop(result) ; |
|
325 |
result->DecRef() ; |
|
326 |
||
327 |
||
328 |
} |
|
329 |
||
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
330 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
331 |