1 /* |
|
2 * Copyright (c) 2009 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: Class used by client applications to convert location |
|
15 * information |
|
16 * |
|
17 */ |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <lbs/lbslocationinfoconverter.h> |
|
21 #include <lbs/lbslocationinfoconvertercommon.h> |
|
22 |
|
23 |
|
24 EXPORT_C TVersion MLbsLocationInfoConverterObserver::Version() const |
|
25 { |
|
26 return TVersion(1, 0, 0); |
|
27 } |
|
28 |
|
29 |
|
30 |
|
31 //---------------------------------------------------------------- |
|
32 // CLbsLocationInfoConverter::NewL |
|
33 // (other items were commented in a header). |
|
34 //---------------------------------------------------------------- |
|
35 EXPORT_C CLbsLocationInfoConverter* CLbsLocationInfoConverter::NewL( |
|
36 MLbsLocationInfoConverterObserver& aObserver, |
|
37 const TUid aConverterModuleId ) |
|
38 { |
|
39 CLbsLocationInfoConverter* self = new( ELeave ) CLbsLocationInfoConverter; |
|
40 CleanupStack::PushL( self ); |
|
41 self->ConstructL( aObserver,aConverterModuleId ); |
|
42 CleanupStack::Pop( self ); |
|
43 return self; |
|
44 } |
|
45 |
|
46 //---------------------------------------------------------------- |
|
47 // CLbsLocationInfoConverter::NewL |
|
48 // (other items were commented in a header). |
|
49 //---------------------------------------------------------------- |
|
50 EXPORT_C CLbsLocationInfoConverter* CLbsLocationInfoConverter::NewL( |
|
51 MLbsLocationInfoConverterObserver& aObserver ) |
|
52 { |
|
53 CLbsLocationInfoConverter* self = new( ELeave ) CLbsLocationInfoConverter; |
|
54 CleanupStack::PushL( self ); |
|
55 self->ConstructL( aObserver,TUid::Uid( KNullUidValue ) ); |
|
56 CleanupStack::Pop( self ); |
|
57 return self; |
|
58 } |
|
59 |
|
60 //---------------------------------------------------------------- |
|
61 // CLbsLocationInfoConverter::~CLbsLocationInfoConverter |
|
62 // (other items were commented in a header). |
|
63 //---------------------------------------------------------------- |
|
64 EXPORT_C CLbsLocationInfoConverter::~CLbsLocationInfoConverter() |
|
65 { |
|
66 delete iLocationInfoConverterImpl; |
|
67 iLocationInfoConverterImpl = NULL; |
|
68 } |
|
69 |
|
70 //---------------------------------------------------------------- |
|
71 // CLbsLocationInfoConverter::ConvertLocationInfoL |
|
72 // (other items were commented in a header). |
|
73 //---------------------------------------------------------------- |
|
74 EXPORT_C void CLbsLocationInfoConverter::ConvertLocationInfoL( |
|
75 CLbsLocationInfoBase& /*aLocationInfo*/, |
|
76 const TLbsConversionPrefs /*aConversionPrefs*/, |
|
77 const TLbsConversionOutputInfoMask /*aRequestedInfo*/ ) |
|
78 { |
|
79 } |
|
80 |
|
81 //---------------------------------------------------------------- |
|
82 // CLbsLocationInfoConverter::ConvertLocationInfoL |
|
83 // (other items were commented in a header). |
|
84 //---------------------------------------------------------------- |
|
85 EXPORT_C void CLbsLocationInfoConverter::ConvertLocationInfoL( |
|
86 RLbsLocationInfoBaseArray& /*aLocationInfoArray*/, |
|
87 const TLbsConversionPrefs /*aConversionPrefs*/, |
|
88 const TLbsConversionOutputInfoMask /*aRequestedInfo*/ ) |
|
89 { |
|
90 } |
|
91 |
|
92 //---------------------------------------------------------------- |
|
93 // CLbsLocationInfoConverter::CancelConvertLocationInfo |
|
94 // (other items were commented in a header). |
|
95 //---------------------------------------------------------------- |
|
96 EXPORT_C void CLbsLocationInfoConverter::CancelConvertLocationInfo() |
|
97 { |
|
98 } |
|
99 |
|
100 //---------------------------------------------------------------- |
|
101 // CLbsLocationInfoConverter::ConstructL |
|
102 // (other items were commented in a header). |
|
103 //---------------------------------------------------------------- |
|
104 void CLbsLocationInfoConverter::ConstructL( |
|
105 MLbsLocationInfoConverterObserver& /*aObserver*/, |
|
106 const TUid /*aConverterModuleId*/ ) |
|
107 { |
|
108 } |
|
109 |
|
110 //---------------------------------------------------------------- |
|
111 // CLbsLocationInfoConverter::CLbsLocationInfoConverter |
|
112 // (other items were commented in a header). |
|
113 //---------------------------------------------------------------- |
|
114 CLbsLocationInfoConverter::CLbsLocationInfoConverter() |
|
115 { |
|
116 |
|
117 } |
|