equal
deleted
inserted
replaced
50 #include <geotagger.h> |
50 #include <geotagger.h> |
51 #include "ctagcreator.h" |
51 #include "ctagcreator.h" |
52 #include <reversegeocoderplugin.h> |
52 #include <reversegeocoderplugin.h> |
53 #endif |
53 #endif |
54 |
54 |
|
55 #include <CProfileChangeNotifyHandler.h> |
|
56 #include <MProfileChangeObserver.h> |
|
57 |
55 typedef RLocationTrail::TTrailState TLocTrailState; |
58 typedef RLocationTrail::TTrailState TLocTrailState; |
56 |
59 |
57 class CTelephony; |
60 class CTelephony; |
58 class TPositionSatelliteInfo; |
61 class TPositionSatelliteInfo; |
59 |
62 |
123 TItemId iLocationId; |
126 TItemId iLocationId; |
124 TUint iFlag; //indicator for various scenarios |
127 TUint iFlag; //indicator for various scenarios |
125 #ifdef LOC_REVERSEGEOCODE |
128 #ifdef LOC_REVERSEGEOCODE |
126 TItemId iCountryTagId; |
129 TItemId iCountryTagId; |
127 TItemId iCityTagId; |
130 TItemId iCityTagId; |
|
131 TUint iReverseGeocodeSuccess; |
128 #endif |
132 #endif |
129 }; |
133 }; |
130 class MLocationAddObserver |
134 class MLocationAddObserver |
131 { |
135 { |
132 public: |
136 public: |
145 * @since S60 3.1 |
149 * @since S60 3.1 |
146 */ |
150 */ |
147 class CLocationRecord : public CBase, |
151 class CLocationRecord : public CBase, |
148 public MNetworkInfoObserver, |
152 public MNetworkInfoObserver, |
149 public MPositionInfoObserver, |
153 public MPositionInfoObserver, |
150 public MMdEQueryObserver |
154 public MMdEQueryObserver, |
|
155 public MProfileChangeObserver |
151 #ifdef LOC_GEOTAGGING_CELLID |
156 #ifdef LOC_GEOTAGGING_CELLID |
152 ,public MGeoConverterObserver |
157 ,public MGeoConverterObserver |
153 #endif |
158 #endif |
154 #ifdef LOC_REVERSEGEOCODE |
159 #ifdef LOC_REVERSEGEOCODE |
155 ,public MReverseGeocodeObserver |
160 ,public MReverseGeocodeObserver |
505 |
510 |
506 /** |
511 /** |
507 * Callback method on geotagging complete |
512 * Callback method on geotagging complete |
508 */ |
513 */ |
509 void GeoTaggingCompleted(); |
514 void GeoTaggingCompleted(); |
|
515 |
|
516 /** |
|
517 * MProfileChangeObserver pure virtual function |
|
518 * @param aProfileEvent Profile event |
|
519 * @param aProfileId Active profile id |
|
520 */ |
|
521 void HandleActiveProfileEventL(TProfileEvent aProfileEvent,TInt aProfileId ); |
|
522 |
510 |
523 |
511 #ifdef LOC_REVERSEGEOCODE |
524 #ifdef LOC_REVERSEGEOCODE |
512 /** |
525 /** |
513 * Get any imagefor this location object |
526 * Get any imagefor this location object |
514 * @param aLocID, location object Id |
527 * @param aLocID, location object Id |
750 * Reverse geo coder plugin object |
763 * Reverse geo coder plugin object |
751 */ |
764 */ |
752 CReverseGeoCoderPlugin* iRevGeocoderPlugin; |
765 CReverseGeoCoderPlugin* iRevGeocoderPlugin; |
753 |
766 |
754 #endif |
767 #endif |
755 |
768 |
|
769 /** |
|
770 *to listen profile change. |
|
771 */ |
|
772 CProfileChangeNotifyHandler* iProfileHandler; |
|
773 |
|
774 /* |
|
775 *To check for offline profile |
|
776 */ |
|
777 TBool iOfflineCheck; |
|
778 |
756 }; |
779 }; |
757 |
780 |
758 #endif // C_CLOCATIONRECORD_H |
781 #endif // C_CLOCATIONRECORD_H |
759 |
782 |
760 // End of file. |
783 // End of file. |