author | Billy Gibson <Billy.Gibson@nokia.com> |
Fri, 28 May 2010 18:01:03 +0100 | |
branch | GeoConversion |
changeset 34 | 0c0ad64c882c |
permissions | -rw-r--r-- |
34
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
1 |
/* |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
2 |
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
3 |
* All rights reserved. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
8 |
* |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
11 |
* |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
12 |
* Contributors: |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
13 |
* |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
14 |
* Description: Definition of CdummyMvmtDet class. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
15 |
* |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
16 |
*/ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
17 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
18 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
19 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
20 |
#include <ecom/ecom.h> |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
21 |
#include <e32math.h> |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
22 |
#include <ecom/implementationproxy.h> |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
23 |
#include "TestLocationConverter2.h" |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
24 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
25 |
// the test code sets the timing advance in the GSM vell info to this value |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
26 |
// which instructs the test converter to constuct TLocalitys with |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
27 |
// latitude ser to country code, longitude set to |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
28 |
// network code and altitiude set to local area code |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
29 |
const TInt KTimingAdvanceSpecialValue= 254; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
30 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
31 |
const TInt KTimingAdvanceSaveToCacheTrue= 253; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
32 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
33 |
const TInt KTimingAdvanceSaveToCacheFalse= 252; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
34 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
35 |
// ECOM implementation specifics |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
36 |
static const TImplementationProxy implTable[] = |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
37 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
38 |
IMPLEMENTATION_PROXY_ENTRY(0x2002160D, CTestLocationConverter2::NewL) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
39 |
}; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
40 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
41 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
42 |
EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
43 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
44 |
aTableCount = sizeof(implTable) / sizeof(TImplementationProxy); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
45 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
46 |
return implTable; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
47 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
48 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
49 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
50 |
// Class methods |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
51 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
52 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
53 |
// CLbsLocInfoConversionPluginBase::NewL |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
54 |
// Symbian Two - phase constructor |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
55 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
56 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
57 |
CTestLocationConverter2* CTestLocationConverter2::NewL( TLbsLocInfoConverterPluginParams& aParams) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
58 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
59 |
CTestLocationConverter2* self = new (ELeave) CTestLocationConverter2(aParams); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
60 |
CleanupStack::PushL(self); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
61 |
self->ConstructL(aParams); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
62 |
CleanupStack::Pop(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
63 |
return self; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
64 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
65 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
66 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
67 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
68 |
// CLbsLocInfoConversionPluginBase::ConstructL |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
69 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
70 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
71 |
void CTestLocationConverter2::ConstructL( TLbsLocInfoConverterPluginParams& /*aParams*/ ) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
72 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
73 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
74 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
75 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
76 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
77 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
78 |
//----------------------------------------------------------------- |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
79 |
// CLbsLocInfoConversionPluginBase::CLbsLocInfoConversionPluginBase |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
80 |
// C++ Default constructor |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
81 |
//------------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
82 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
83 |
CTestLocationConverter2::CTestLocationConverter2(TLbsLocInfoConverterPluginParams& aParams):iObserver(aParams.Observer()), |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
84 |
iRetainLocalityInCache(ETrue) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
85 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
86 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
87 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
88 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
89 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
90 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
91 |
// CLbsLocInfoConversionPluginBase::~CLbsLocInfoConversionPluginBase |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
92 |
// Destructor |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
93 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
94 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
95 |
CTestLocationConverter2::~CTestLocationConverter2() |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
96 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
97 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
98 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
99 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
100 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
101 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
102 |
// CLbsLocInfoConversionPluginBase::ConvertLocationInfoL |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
103 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
104 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
105 |
void CTestLocationConverter2::ConvertLocationInfoL( RLbsLocationInfoArray& aLocationInfoArray, |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
106 |
const TLbsConversionPrefs /*aConversionPrefs*/, |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
107 |
const TLbsConversionOutputInfoMask aRequestedInfo) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
108 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
109 |
if(aRequestedInfo == ELbsConversionOutputNotDefined) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
110 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
111 |
iObserver.OnConversionComplete(KErrArgument); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
112 |
return; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
113 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
114 |
TInt count = aLocationInfoArray.Count(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
115 |
for(TInt i=0 ; i<count;i++) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
116 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
117 |
switch(aRequestedInfo) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
118 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
119 |
case ELbsConversionOutputPosition: |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
120 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
121 |
// Extract the area info provided by the client. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
122 |
// If client has specified only coordinate info, |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
123 |
// return KErrNotSupported. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
124 |
RLbsAreaInfoBaseArray areaInfoArray; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
125 |
CLbsLocationInfo::TAreaInfoMask areaInfoMask = 0; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
126 |
areaInfoMask |= CLbsLocationInfo::ELbsGsmInfo | |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
127 |
CLbsLocationInfo::ELbsWcdmaInfo | |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
128 |
CLbsLocationInfo::ELbsWlanInfo; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
129 |
aLocationInfoArray[i]->GetAreaInfoL( areaInfoArray,areaInfoMask ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
130 |
TInt count = areaInfoArray.Count(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
131 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
132 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
133 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
134 |
if( count == 0 ) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
135 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
136 |
iObserver.OnConversionComplete(KErrNotSupported); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
137 |
return; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
138 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
139 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
140 |
CLbsGsmCellInfo* posInfo = static_cast<CLbsGsmCellInfo*>( areaInfoArray[0] ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
141 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
142 |
TInt timingAdvance = posInfo->TimingAdvance(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
143 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
144 |
TLocality locality; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
145 |
if (timingAdvance == KTimingAdvanceSpecialValue) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
146 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
147 |
TReal64 lat = posInfo->MobileCountryCode() ; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
148 |
TReal64 lng = posInfo->MobileNetworkCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
149 |
TReal32 alt = posInfo->LocationAreaCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
150 |
locality.SetCoordinate( lat,lng, alt); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
151 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
152 |
else |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
153 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
154 |
locality.SetCoordinate( 62.5285,23.9385, 1.22f); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
155 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
156 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
157 |
// if (timingAdvance == KTimingAdvanceSaveToCacheTrue) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
158 |
// { |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
159 |
// TReal64 lat = posInfo->MobileCountryCode() ; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
160 |
// TReal64 lng = posInfo->MobileNetworkCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
161 |
// TReal32 alt = posInfo->LocationAreaCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
162 |
// locality.SetCoordinate( lat,lng, alt); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
163 |
// iRetainLocalityInCache = ETrue; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
164 |
// } |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
165 |
// else if (timingAdvance == KTimingAdvanceSaveToCacheFalse) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
166 |
// { |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
167 |
// TReal64 lat = posInfo->MobileCountryCode() ; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
168 |
// TReal64 lng = posInfo->MobileNetworkCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
169 |
// TReal32 alt = posInfo->LocationAreaCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
170 |
// locality.SetCoordinate( lat,lng, alt); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
171 |
// iRetainLocalityInCache = EFalse; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
172 |
// } |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
173 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
174 |
if (timingAdvance == KTimingAdvanceSaveToCacheFalse) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
175 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
176 |
TReal64 lat = posInfo->MobileCountryCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
177 |
TReal64 lng = posInfo->MobileNetworkCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
178 |
TReal32 alt = posInfo->LocationAreaCode(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
179 |
locality.SetCoordinate(lat, lng, alt); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
180 |
iRetainLocalityInCache = EFalse; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
181 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
182 |
else |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
183 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
184 |
iRetainLocalityInCache = ETrue; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
185 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
186 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
187 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
188 |
areaInfoArray.ResetAndDestroy(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
189 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
190 |
locality.SetAccuracy( 100,0.0 ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
191 |
CLbsPositionInfo* positionInfo = CLbsPositionInfo::NewL( locality ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
192 |
CleanupStack::PushL( positionInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
193 |
aLocationInfoArray[i]->AddAreaInfoL( positionInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
194 |
CleanupStack::Pop( positionInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
195 |
break; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
196 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
197 |
case ELbsConversionOutputGsm: |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
198 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
199 |
// Extract the area info provided by the client. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
200 |
// If client has specified only gsm info, |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
201 |
// return KErrNotSupported. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
202 |
RLbsAreaInfoBaseArray areaInfoArray; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
203 |
CLbsLocationInfo::TAreaInfoMask areaInfoMask = 0; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
204 |
areaInfoMask |= CLbsLocationInfo::ELbsPosInfo | |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
205 |
CLbsLocationInfo::ELbsWcdmaInfo | |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
206 |
CLbsLocationInfo::ELbsWlanInfo; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
207 |
aLocationInfoArray[i]->GetAreaInfoL( areaInfoArray,areaInfoMask ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
208 |
TInt count = areaInfoArray.Count(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
209 |
areaInfoArray.ResetAndDestroy(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
210 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
211 |
if( count == 0 ) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
212 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
213 |
iObserver.OnConversionComplete(KErrNotSupported); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
214 |
return; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
215 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
216 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
217 |
CLbsGsmCellInfo* gsmCellInfo = CLbsGsmCellInfo::NewL( 100,101,102,103); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
218 |
CleanupStack::PushL( gsmCellInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
219 |
aLocationInfoArray[i]->AddAreaInfoL( gsmCellInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
220 |
CleanupStack::Pop( gsmCellInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
221 |
break; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
222 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
223 |
case ELbsConversionOutputWcdma: |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
224 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
225 |
// Extract the area info provided by the client. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
226 |
// If client has specified only wcdma info, |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
227 |
// return KErrNotSupported. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
228 |
RLbsAreaInfoBaseArray areaInfoArray; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
229 |
CLbsLocationInfo::TAreaInfoMask areaInfoMask = 0; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
230 |
areaInfoMask |= CLbsLocationInfo::ELbsPosInfo | |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
231 |
CLbsLocationInfo::ELbsGsmInfo | |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
232 |
CLbsLocationInfo::ELbsWlanInfo; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
233 |
aLocationInfoArray[i]->GetAreaInfoL( areaInfoArray,areaInfoMask ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
234 |
TInt count = areaInfoArray.Count(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
235 |
areaInfoArray.ResetAndDestroy(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
236 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
237 |
if( count == 0 ) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
238 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
239 |
iObserver.OnConversionComplete(KErrNotSupported); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
240 |
return; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
241 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
242 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
243 |
CLbsWcdmaCellInfo* wcdmaCellInfo = CLbsWcdmaCellInfo::NewL( 100,101,102 ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
244 |
CleanupStack::PushL( wcdmaCellInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
245 |
aLocationInfoArray[i]->AddAreaInfoL( wcdmaCellInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
246 |
CleanupStack::Pop( wcdmaCellInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
247 |
break; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
248 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
249 |
case ELbsConversionOutputWlan: |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
250 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
251 |
// Extract the area info provided by the client. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
252 |
// If client has specified only wlan info, |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
253 |
// return KErrNotSupported. |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
254 |
RLbsAreaInfoBaseArray areaInfoArray; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
255 |
CLbsLocationInfo::TAreaInfoMask areaInfoMask = 0; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
256 |
areaInfoMask |= CLbsLocationInfo::ELbsPosInfo | |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
257 |
CLbsLocationInfo::ELbsGsmInfo | |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
258 |
CLbsLocationInfo::ELbsWcdmaInfo; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
259 |
aLocationInfoArray[i]->GetAreaInfoL( areaInfoArray,areaInfoMask ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
260 |
TInt count = areaInfoArray.Count(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
261 |
areaInfoArray.ResetAndDestroy(); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
262 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
263 |
if( count == 0 ) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
264 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
265 |
iObserver.OnConversionComplete(KErrNotSupported); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
266 |
return; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
267 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
268 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
269 |
TLbsWlanMacAddress macAddress(_L8("10.0.1")); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
270 |
CLbsWlanInfo* WlanInfo = CLbsWlanInfo::NewL( macAddress,10.1); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
271 |
CleanupStack::PushL( WlanInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
272 |
aLocationInfoArray[i]->AddAreaInfoL( WlanInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
273 |
CleanupStack::Pop( WlanInfo ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
274 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
275 |
default: |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
276 |
break; |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
277 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
278 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
279 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
280 |
iObserver.OnConversionComplete(KErrNone); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
281 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
282 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
283 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
284 |
// CLbsLocInfoConversionPluginBase::ConvertLocationInfoL |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
285 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
286 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
287 |
void CTestLocationConverter2::CancelConvertLocationInfo( ) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
288 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
289 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
290 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
291 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
292 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
293 |
// CLbsLocInfoConversionPluginBase::ValidateClient |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
294 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
295 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
296 |
void CTestLocationConverter2::ValidateClient( const TSecureId& /*aSecureId*/, |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
297 |
const TVendorId& /*aVendorId*/, |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
298 |
const TLbsConversionOutputInfoMask /*aRequestedInfo*/ ) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
299 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
300 |
iObserver.OnValidationComplete( KErrNone ); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
301 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
302 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
303 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
304 |
// CLbsLocInfoConversionPluginBase::ValidateClient |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
305 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
306 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
307 |
void CTestLocationConverter2::CancelValidateClient() |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
308 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
309 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
310 |
} |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
311 |
|
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
312 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
313 |
// CExampleLocationConverter::ConversionPluginPreferences |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
314 |
//------------------------------------------------------------ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
315 |
// |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
316 |
void CTestLocationConverter2::ConversionPluginPreferences( |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
317 |
TLbsConversionPluginInfo& aPluginInfo ) |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
318 |
{ |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
319 |
aPluginInfo.SetIsPluginPositionToBeCached(iRetainLocalityInCache); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
320 |
//aPluginInfo.SetIsPluginPositionToBeCached(ETrue); |
0c0ad64c882c
Updated version of the Location Monitor supporting the new New GeoConversion interfaces.
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
321 |
} |