equal
deleted
inserted
replaced
38 #include "maptileinterface.h" |
38 #include "maptileinterface.h" |
39 #include "mylocationsdatabasemanager.h" |
39 #include "mylocationsdatabasemanager.h" |
40 #include "lookupmaptiledb.h" |
40 #include "lookupmaptiledb.h" |
41 #include "calendernotification.h" |
41 #include "calendernotification.h" |
42 #include "mylocationgeotagtimerao.h" |
42 #include "mylocationgeotagtimerao.h" |
|
43 class GeocodeUpdate; |
43 class CContactSubscriber; |
44 class CContactSubscriber; |
44 class CCalendarSubscriber; |
45 class CCalendarSubscriber; |
45 using namespace QTM_NAMESPACE; |
46 using namespace QTM_NAMESPACE; |
46 |
47 |
47 /** |
48 /** |
59 public: |
60 public: |
60 //Landmark contains address details |
61 //Landmark contains address details |
61 CPosLandmark* iLandmarkInfo; |
62 CPosLandmark* iLandmarkInfo; |
62 //single row address. |
63 //single row address. |
63 HBufC* iAddressDetails; |
64 HBufC* iAddressDetails; |
64 //Contact id |
65 //entry id |
65 TInt32 iUId; |
66 TInt32 iUId; |
66 //Address type |
67 //Address type |
67 TInt32 iAddressType; |
68 TInt32 iAddressType; |
68 //Image path |
69 //Image path |
69 TFileName iImagePath; |
70 TFileName iImagePath; |
190 * @param aEvent Provides information about the change event. |
191 * @param aEvent Provides information about the change event. |
191 */ |
192 */ |
192 void TriggerMaptileRequestL( TContactDbObserverEvent& aEvent ); |
193 void TriggerMaptileRequestL( TContactDbObserverEvent& aEvent ); |
193 |
194 |
194 /** |
195 /** |
195 * Process the contact database event and updates the landmark database |
|
196 * @param aEvent Provides information about the change event. |
|
197 */ |
|
198 void HandlelandmarkDatabaseL( TContactDbObserverEvent& aEvent ); |
|
199 /** |
|
200 * Process the maptile database event and updates the maptile database |
196 * Process the maptile database event and updates the maptile database |
201 * @param aEventType Provides information about the type of request address. |
197 * @param aEventType Provides information about the type of request address. |
202 * @param aLookupItem Provides information about single address of contact. |
198 * @param aLookupItem Provides information about single address of contact. |
203 */ |
199 */ |
204 void UpdateMaptileDatabaseL(TInt aEventType , |
200 void UpdateMaptileDatabaseL(TInt aEventType , |
282 |
278 |
283 /** |
279 /** |
284 * maptile database manipulation. |
280 * maptile database manipulation. |
285 */ |
281 */ |
286 void ManipulateMapTileDataBaseL(TLookupItem& aLookupItem); |
282 void ManipulateMapTileDataBaseL(TLookupItem& aLookupItem); |
|
283 |
|
284 /** |
|
285 * Crop and create multiple maptile images for different applications requirements. |
|
286 */ |
|
287 void CreateMultipleMaptiles( const TDesC& aMaptilePath ); |
|
288 |
|
289 /** |
|
290 * Crop the maptile image and save the different files. |
|
291 */ |
|
292 void CropAndSaveImage( QString filePath, int width, |
|
293 int height, QString appType, QString orientationType ); |
287 |
294 |
288 public: //From MMapTileObserver |
295 public: //From MMapTileObserver |
289 |
296 |
290 /** |
297 /** |
291 * Informs the maptile fetching completion |
298 * Informs the maptile fetching completion |
369 CContactSubscriber *iContactSubscriber; |
376 CContactSubscriber *iContactSubscriber; |
370 |
377 |
371 //Subscribe from calendar |
378 //Subscribe from calendar |
372 CCalendarSubscriber *iCalendarSubscriber; |
379 CCalendarSubscriber *iCalendarSubscriber; |
373 |
380 |
|
381 //Geo-code class instance |
|
382 GeocodeUpdate *iGeocodeUpdate; |
|
383 |
374 //Last viewed contact id |
384 //Last viewed contact id |
375 TInt iLastContactId; |
385 TInt iLastContactId; |
376 |
386 |
377 //Last viewed calendar id |
387 //Last viewed calendar id |
378 TInt iLastCalendarId; |
388 TInt iLastCalendarId; |