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 26 | 5d0ec8b709be |
permissions | -rw-r--r-- |
5 | 1 |
/* |
2 |
* Copyright (c) 2005-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 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: CLandmarkService class |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
#ifndef __CLANDMARKSERVICE_H__ |
|
20 |
#define __CLANDMARKSERVICE_H__ |
|
21 |
||
22 |
#ifdef _DEBUG |
|
23 |
#include <flogger.h> |
|
24 |
#endif |
|
25 |
||
26 |
// INCLUDES |
|
27 |
#include <e32base.h> |
|
28 |
#include <e32cmn.h> |
|
29 |
#include <badesca.h> |
|
30 |
||
31 |
//FORWARD DECLARARTIONS |
|
32 |
class CLandmarkManageHandlers; |
|
33 |
class MLandmarkObserver; |
|
34 |
class CLandmarkFilter; |
|
35 |
class CPosLandmarkParser; |
|
36 |
class CPosLandmarkEncoder; |
|
37 |
class CPosLmItemIterator; |
|
38 |
class CPosLmDatabaseManager; |
|
39 |
class CPosLandmark; |
|
40 |
class CPosLandmarkCategory; |
|
41 |
class TPosLmDatabaseSettings; |
|
42 |
class CLandmarkManageObjects; |
|
43 |
||
44 |
/** |
|
45 |
* CLandmarkService |
|
46 |
* This class has the core implementation. The member functions of this class |
|
47 |
* call the native landmarks api's to perform the necessary operations. This class |
|
48 |
* also owns the garbage collector which takes care of active objects associated |
|
49 |
* with async requests. It also owns the CLandmarkManageHandlers object that manages |
|
50 |
* the handles to open databases. The interface class calls the appropriate member |
|
51 |
* functions of this class to perform the required operation. |
|
52 |
*/ |
|
53 |
// CLASS DECLARATION |
|
54 |
NONSHARABLE_CLASS(CLandmarkService): public CBase |
|
55 |
{ |
|
56 |
public: |
|
57 |
/** |
|
58 |
* TPosItem |
|
59 |
* Specifies whether the id passed is a landmark id or a category id. |
|
60 |
*/ |
|
61 |
enum TPosItem |
|
62 |
{ |
|
63 |
ECategory = 0 /**< |
|
64 |
Item is a landmark category id. */, |
|
65 |
ELandmark /**< |
|
66 |
Item is a landmark id. */, |
|
67 |
}; |
|
68 |
/** |
|
69 |
* TDatabaseType |
|
70 |
* Specifies whether the database is local or remote. |
|
71 |
*/ |
|
72 |
enum TDatabaseType |
|
73 |
{ |
|
74 |
ELocalDatabase = 0 /**< |
|
75 |
database is a local. */, |
|
76 |
ERemoteDatabase /**< |
|
77 |
database is remote. */, |
|
78 |
}; |
|
79 |
||
80 |
public: // New methods |
|
81 |
||
82 |
/** |
|
83 |
* NewL. |
|
84 |
* Two-phased constructor. |
|
85 |
* Create a CLandmarkService object. |
|
86 |
* @return A pointer to the created instance of CLandmarkService. |
|
87 |
*/ |
|
88 |
IMPORT_C static CLandmarkService* NewL(); |
|
89 |
||
90 |
/** |
|
91 |
* NewLC. |
|
92 |
* Two-phased constructor. |
|
93 |
* Create a CLandmarkService object. |
|
94 |
* @return A pointer to the created instance of CLandmarkService. |
|
95 |
*/ |
|
96 |
IMPORT_C static CLandmarkService* NewLC(); |
|
97 |
||
98 |
/** |
|
99 |
* ~CLandmarkService |
|
100 |
* Destructor. |
|
101 |
*/ |
|
102 |
~CLandmarkService(); |
|
103 |
||
104 |
public: // Functions to retrieve data members |
|
105 |
||
106 |
/** |
|
107 |
* ImportL. |
|
108 |
* Imports landmarks to the requested database. |
|
109 |
* @param aIterator A pointer reference to the list of imported landmarks. User |
|
110 |
* owns the iterator. |
|
111 |
* @param aLandmarkParser The instance of CPosLandmarkParser that |
|
112 |
* will parse the input landmark file. |
|
113 |
* @param aDatabaseUri The URI of the database to which the parsed landmarks |
|
114 |
* will be imported. |
|
115 |
*/ |
|
116 |
IMPORT_C void ImportL( CPosLmItemIterator*& aIterator, |
|
117 |
CPosLandmarkParser& aLandmarkParser, |
|
118 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
119 |
IMPORT_C void ImportL( TInt32 aTransactionId, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
120 |
CPosLandmarkParser& aLandmarkParser, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
121 |
const TDesC& aDatabaseUri = KNullDesC ); |
5 | 122 |
|
123 |
/** |
|
124 |
* ExportL. |
|
125 |
* Export a set of landmarks from the requested database to a file. |
|
126 |
* @param aLandmarkEncoder A pointer to a landmark encoder object. |
|
127 |
* @param aLandmarkIdArray The array of landmark ids which should be exported. |
|
128 |
* @param aDatabaseUri The URI of the database from which the landmarks will |
|
129 |
* be exported. |
|
130 |
*/ |
|
131 |
IMPORT_C void ExportL( CPosLandmarkEncoder& aLandmarkEncoder, |
|
132 |
const RArray<TPosLmItemId>& aLandmarkIdArray, |
|
133 |
const TDesC& aDatabaseUri = KNullDesC ) const; |
|
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
134 |
|
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
135 |
IMPORT_C void ExportL( TInt32 aTransactionId, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
136 |
CPosLandmarkEncoder& aLandmarkEncoder, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
137 |
const RArray<TPosLmItemId>& aLandmarkIdArray, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
138 |
const TDesC& aDestinationFile, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
139 |
const TDesC& aDatabaseUri = KNullDesC ) const; |
5 | 140 |
|
141 |
/** |
|
142 |
* GetListL. |
|
143 |
* Gets a list of landmarks/landmark categories from the requested database synchronously. |
|
144 |
* @param aIterator A pointer reference to the list of retrieved landmarks/landmark |
|
145 |
* categories. User owns the iterator. |
|
146 |
* @param aFilter The filter to be used for searching landmarks/landmark categories |
|
147 |
* in database. |
|
148 |
* @param aDatabaseUri The URI of the database from which landmarks/lanmdark categories |
|
149 |
* should be fetched. |
|
150 |
*/ |
|
151 |
IMPORT_C void GetListL ( CPosLmItemIterator*& aIterator, |
|
152 |
CLandmarkFilter& aFilter, const TDesC& aDatabaseUri = KNullDesC ) const; |
|
153 |
||
154 |
/** |
|
155 |
* GetListL. |
|
156 |
* Gets a list of landmark databases. |
|
157 |
* @param aDatabaseList A pointer reference to the list of retrieved databases. |
|
158 |
* User owns allocated list. |
|
159 |
* @param aProtocol Protocol which matches that of the databases to be retrieved. |
|
160 |
*/ |
|
161 |
IMPORT_C void GetListL( CDesCArray*& aDatabaseList, |
|
162 |
const TDesC& aProtocol = KNullDesC ) const; |
|
163 |
||
164 |
/** |
|
165 |
* GetListL. |
|
166 |
* Gets a list of landmarks/landmark categories from the requested database asynchronously. |
|
167 |
* @param aTransactionId The transaction id assigned to this asynchronous request. |
|
168 |
* @param aFilter The filter to be used for searching landmarks/landmark categories |
|
169 |
* in database. |
|
170 |
* @param aDatabaseUri The URI of the database from which landmarks/lanmdark categories |
|
171 |
* should be fetched. |
|
172 |
*/ |
|
173 |
IMPORT_C void GetListL( TInt32 aTransactionId, |
|
174 |
CLandmarkFilter& aFilter, const TDesC& aDatabaseUri = KNullDesC ); |
|
175 |
||
176 |
/** |
|
177 |
* AddItemL. |
|
178 |
* Adds a new Landmark to the given database. |
|
179 |
* @param aLandmark CPosLandmark instance to be added to database. |
|
180 |
* @param aDatabaseUri The URI of the database to which the CPosLandmark |
|
181 |
* instance should be added. |
|
182 |
*/ |
|
183 |
IMPORT_C TPosLmItemId AddItemL( CPosLandmark& aLandmark, |
|
184 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
185 |
||
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
186 |
IMPORT_C void AddItemL(TInt32 aTransactionId, CPosLandmark& aLandmark, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
187 |
const TDesC& aDatabaseUri = KNullDesC); |
5 | 188 |
/** |
189 |
* AddItemL. |
|
190 |
* Adds a new Landmark category to the given database. |
|
191 |
* @param aCategory CPosLandmarkCategory instance to be added to database. |
|
192 |
* @param aDatabaseUri The URI of the database to which CPosLandmarkCategory |
|
193 |
* instance should be added. |
|
194 |
*/ |
|
195 |
IMPORT_C TPosLmItemId AddItemL( CPosLandmarkCategory& aCategory, |
|
196 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
197 |
||
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
198 |
IMPORT_C void AddItemL(TInt32 aTransactionId, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
199 |
CPosLandmarkCategory& aCategory, const TDesC& aDatabaseUri = |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
200 |
KNullDesC); |
5 | 201 |
/** |
202 |
* AddItemL. |
|
203 |
* Adds a new database to terminal. |
|
204 |
* @param aDatabaseUri The URI of the database to be added to terminal. |
|
205 |
*/ |
|
206 |
IMPORT_C void AddItemL( const TDesC& aDatabaseUri ); |
|
207 |
||
208 |
/** |
|
209 |
* UpdateItemL. |
|
210 |
* Updates an existing Landmark in the given database. |
|
211 |
* @param aLandmark CPosLandmark instance to be updated in database. |
|
212 |
* @param aDatabaseUri The URI of the database in which CPosLandmark |
|
213 |
* instance should be updated. |
|
214 |
*/ |
|
215 |
IMPORT_C void UpdateItemL( const CPosLandmark& aLandmark, |
|
216 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
217 |
||
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
218 |
IMPORT_C void UpdateItemL(TInt32 aTransactionId, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
219 |
const CPosLandmark& aLandmark, const TDesC& aDatabaseUri = |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
220 |
KNullDesC); |
5 | 221 |
/** |
222 |
* UpdateItemL. |
|
223 |
* Updates an existing Landmark category in the given database. |
|
224 |
* @param aCategory CPosLandmarkCategory instance to be updated in database. |
|
225 |
* @param aDatabaseUri The URI of the database to which CPosLandmarkCategory |
|
226 |
* instance should be updated. |
|
227 |
*/ |
|
228 |
IMPORT_C void UpdateItemL( const CPosLandmarkCategory& aCategory, |
|
229 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
230 |
||
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
231 |
IMPORT_C void UpdateItemL(TInt32 aTransactionId, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
232 |
const CPosLandmarkCategory& aCategory, const TDesC& aDatabaseUri = |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
233 |
KNullDesC); |
5 | 234 |
/** |
235 |
* UpdateItemL. |
|
236 |
* Updates existing Database Information. |
|
237 |
* @param aSettings TPosLmDatabaseSettings information to be updated. |
|
238 |
* @param aDatabaseUri The URI of the database to be updated. |
|
239 |
*/ |
|
240 |
IMPORT_C void UpdateItemL( TPosLmDatabaseSettings aSettings, |
|
241 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
242 |
||
243 |
/** |
|
244 |
* LandmarkLC. |
|
245 |
* Retrieves a Landmark from the database. |
|
246 |
* @param aLandmarkId Id of the landmark to be retrieved. |
|
247 |
* @param aDatabaseUri The URI of the database from which the CPosLandmark |
|
248 |
* instance should be retrieved. |
|
249 |
* @return A pointer to CPosLandmark instance. |
|
250 |
*/ |
|
251 |
IMPORT_C CPosLandmark* LandmarkLC( const TPosLmItemId& aLandmarkId, |
|
252 |
const TDesC& aDatabaseUri = KNullDesC ) const; |
|
253 |
||
254 |
/** |
|
255 |
* CategoryLC. |
|
256 |
* Retrieves a Landmark category from the database. |
|
257 |
* @param aCategoryId Id of the landmark category to be retrieved. |
|
258 |
* @param aDatabaseUri The URI of the database from which the CPosLandmarkCategory |
|
259 |
* instance should be retrieved. |
|
260 |
* @return A pointer to CPosLandmarkCategory instance. |
|
261 |
*/ |
|
262 |
IMPORT_C CPosLandmarkCategory* CategoryLC( const TPosLmItemId& aCategoryId, |
|
263 |
const TDesC& aDatabaseUri = KNullDesC ) const; |
|
264 |
||
265 |
/** |
|
266 |
* RemoveItemL. |
|
267 |
* Removes a Landmark/Landmark category from given database. |
|
268 |
* @param aItemId The id of the Landmark/Landmark category to be removed. |
|
269 |
* @param aItemIsLandmark Whether id passed is a landmark id or a category id. |
|
270 |
* @param aDatabaseUri The URI of the database from which the |
|
271 |
* Landmark/Landmark category is to be removed. |
|
272 |
*/ |
|
273 |
IMPORT_C void RemoveItemL( TPosLmItemId aItemId, TPosItem aItemIsLandmark, |
|
274 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
275 |
||
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
276 |
IMPORT_C void RemoveItemL(TInt32 aTransactionId, TPosLmItemId aItemId, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
277 |
TPosItem aItemIsLandmark, const TDesC& aDatabaseUri = KNullDesC); |
5 | 278 |
/** |
279 |
* RemoveItemL. |
|
280 |
* Removes the given database. |
|
281 |
* @param aDatabaseUri The URI of the database to be removed from terminal. |
|
282 |
*/ |
|
283 |
IMPORT_C void RemoveItemL( const TDesC& aDatabaseUri ); |
|
284 |
||
285 |
/** |
|
286 |
* SetActiveL. |
|
287 |
* Sets specified database as an active database. |
|
288 |
* @param aDatabaseUri The URI of the database to be set as an active database. |
|
289 |
*/ |
|
290 |
IMPORT_C void SetActiveL( const TDesC& aDatabaseUri ); |
|
291 |
||
292 |
/** |
|
293 |
* LinkCategoryToLandmarksL. |
|
294 |
* Associates a category with a set of landmarks. |
|
295 |
* @param aCategoryId The id of category. |
|
296 |
* @param aLandmarkIdArray The array of landmark ids to which the |
|
297 |
* category is to be associated. |
|
298 |
* @param aDatabaseUri The URI of the database in which the landmarks and category exist. |
|
299 |
*/ |
|
300 |
IMPORT_C void LinkCategoryToLandmarksL( TPosLmItemId aCategoryId, |
|
301 |
RArray< TPosLmItemId >& aLandmarkIdArray, |
|
302 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
303 |
IMPORT_C void LinkCategoryToLandmarksL(TInt32 aTransactionId, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
304 |
TPosLmItemId aCategoryId, RArray<TPosLmItemId>& aLandmarkIdArray, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
305 |
const TDesC& aDatabaseUri = KNullDesC); |
5 | 306 |
|
307 |
/** |
|
308 |
* UnlinkCategoryToLandmarksL. |
|
309 |
* Dissociates a category with a set of landmarks. |
|
310 |
* @param aCategoryId The id of category. |
|
311 |
* @param aLandmarkIdArray The array of landmark ids to which the |
|
312 |
* category is to be dissociated. |
|
313 |
* @param aDatabaseUri The URI of the database in which the landmarks and category exist. |
|
314 |
*/ |
|
315 |
IMPORT_C void UnlinkCategoryToLandmarksL( TPosLmItemId aCategoryId, |
|
316 |
RArray< TPosLmItemId >& aLandmarkIdArray, |
|
317 |
const TDesC& aDatabaseUri = KNullDesC ); |
|
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
318 |
IMPORT_C void UnlinkCategoryToLandmarksL(TInt32 aTransactionId, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
319 |
TPosLmItemId aCategoryId, RArray<TPosLmItemId>& aLandmarkIdArray, |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
320 |
const TDesC& aDatabaseUri = KNullDesC ); |
5 | 321 |
|
322 |
/** |
|
323 |
* RegisterObserver. |
|
324 |
* Registers an observer for Asynchronous call backs. |
|
325 |
* @param aObserver A pointer to a concrete MLandmarkObserver instance. |
|
326 |
*/ |
|
327 |
IMPORT_C void RegisterObserver( MLandmarkObserver* aObserver ); |
|
328 |
||
329 |
/** |
|
330 |
* Cancel. |
|
331 |
* Cancels an ongoing asynchronous request. |
|
332 |
* @param aTransactionId The transaction id of the asynchronous request. |
|
333 |
*/ |
|
334 |
IMPORT_C void Cancel( TInt32 aTransactionId ) const; |
|
335 |
||
336 |
/** |
|
337 |
* GetDefaultDbUri. |
|
338 |
* Gets the URI of the default database. |
|
339 |
* @param aDefaultDbUri A reference to the URI of the default database. |
|
340 |
*/ |
|
341 |
IMPORT_C void GetDefaultDbUriL( TPtrC& aDefaultDbUri ) const; |
|
342 |
||
343 |
private:// helper functions |
|
344 |
||
345 |
/** |
|
346 |
* GetDbTypeFromUri. |
|
347 |
* Gets the type of database. |
|
348 |
* @param aDatabaseUri The URI of the database whose information is queried. |
|
349 |
* @return Error. |
|
350 |
*/ |
|
351 |
TDatabaseType GetDbTypeFromUri ( const TDesC& aDbUri ) const; |
|
352 |
||
353 |
private: // Constructors |
|
354 |
||
355 |
/** |
|
356 |
* ConstructL |
|
357 |
* 2nd phase constructor. |
|
358 |
* Perform the second phase construction of a |
|
359 |
* CLandmarkService object. |
|
360 |
*/ |
|
361 |
void ConstructL(); |
|
362 |
||
363 |
/** |
|
364 |
* CLandmarkService. |
|
365 |
* C++ default constructor. |
|
366 |
*/ |
|
367 |
CLandmarkService(); |
|
368 |
||
369 |
private: // Data members |
|
370 |
||
371 |
/** |
|
372 |
* iManageHandler |
|
373 |
* CPosLmManageHandler instance. |
|
374 |
*/ |
|
375 |
CLandmarkManageHandlers* iManageHandler; |
|
376 |
||
377 |
/** |
|
378 |
* iDatabaseManager |
|
379 |
* CPosLmDatabaseManager instance. |
|
380 |
*/ |
|
381 |
CPosLmDatabaseManager* iDatabaseManager; |
|
382 |
||
383 |
/** |
|
384 |
* iObserver |
|
385 |
* MLandmarkObserver instance. |
|
386 |
*/ |
|
387 |
MLandmarkObserver* iObserver; |
|
388 |
||
389 |
/** |
|
390 |
* iManageObjects |
|
391 |
* CLandmarkManageObjects instance. |
|
392 |
*/ |
|
393 |
CLandmarkManageObjects* iManageObjects; |
|
394 |
||
395 |
#ifdef _DEBUG |
|
396 |
RFileLogger iLog; |
|
397 |
#endif |
|
398 |
}; |
|
399 |
||
400 |
#endif // __CLANDMARKSERVICE_H__ |
|
401 |
||
402 |
// End of File |
|
403 |