locationmanager/server/inc/clocationmanagerserver.h
branchRCL_3
changeset 8 50de4d668bb6
parent 7 3cebc1a84278
child 19 b73252188534
equal deleted inserted replaced
7:3cebc1a84278 8:50de4d668bb6
   199      */     
   199      */     
   200     void GetLocationByTimeL( const TTime& aTimeStamp, 
   200     void GetLocationByTimeL( const TTime& aTimeStamp, 
   201     						 TLocationData& aLocationData,
   201     						 TLocationData& aLocationData,
   202                              /*TLocality& aPosition, 
   202                              /*TLocality& aPosition, 
   203                              CTelephony::TNetworkInfoV1& aNetworkInfo,*/
   203                              CTelephony::TNetworkInfoV1& aNetworkInfo,*/
   204                              TLocTrailState& aState ) __SOFTFP;
   204                              TLocTrailState& aState );
   205 
   205 
   206     /**
   206     /**
   207      * Get current location.
   207      * Get current location.
   208      * @since S60 3.1
   208      * @since S60 3.1
   209      * @param aCurrLocReq 
   209      * @param aCurrLocReq 
   230      * Get current network cell id.
   230      * Get current network cell id.
   231      * @since S60 3.1
   231      * @since S60 3.1
   232      * @param aCurrLocReq 
   232      * @param aCurrLocReq 
   233      * @return None.
   233      * @return None.
   234      */     
   234      */     
   235     void GetCurrentNetworkInfo( CTelephony::TNetworkInfoV1& aNetworkInfo ) __SOFTFP;
   235     void GetCurrentNetworkInfo( CTelephony::TNetworkInfoV1& aNetworkInfo );
   236     
   236     
   237     /**
   237     /**
   238      * Create a location context object in DB and create relationships to objects
   238      * Create a location context object in DB and create relationships to objects
   239      * whose id is given in the array.
   239      * whose id is given in the array.
   240      * @param aLocationData
   240      * @param aLocationData
   241      * @param aObjectId
   241      * @param aObjectId
   242      */
   242      */
   243 	void CreateLocationObjectL( const TLocationData& aLocationData, 
   243 	void CreateLocationObjectL( const TLocationData& aLocationData, 
   244     						   	   const TUint& aObjectId ) __SOFTFP;
   244     						   	   const TUint& aObjectId );
   245 	
   245 	
   246     /**
   246     /**
   247      * Create a location context object in DB and create relationships to objects
   247      * Create a location context object in DB and create relationships to objects
   248      * whose id is given in the array.
   248      * whose id is given in the array.
   249      * Location information is taken from location trail
   249      * Location information is taken from location trail
   268 	
   268 	
   269 	void StopTrackLogL();
   269 	void StopTrackLogL();
   270 	
   270 	
   271 	void IsTrackLogRecording( TBool &aRec );
   271 	void IsTrackLogRecording( TBool &aRec );
   272 	
   272 	
   273 	TInt GetTrackLogStatus( TBool& aRecording, TPositionSatelliteInfo& aFixQuality) __SOFTFP;
   273 	TInt GetTrackLogStatus( TBool& aRecording, TPositionSatelliteInfo& aFixQuality);
   274 	
   274 	
   275 	TInt DeleteTrackLogL(const TDesC& aUri);
   275 	TInt DeleteTrackLogL(const TDesC& aUri);
   276 	
   276 	
   277 	TInt TrackLogName(TFileName& aFileName);
   277 	TInt TrackLogName(TFileName& aFileName);
   278 	
   278 	
   288      * Callback method to get notification about trail state change.
   288      * Callback method to get notification about trail state change.
   289      * @since S60 3.1
   289      * @since S60 3.1
   290      * @param None.
   290      * @param None.
   291      * @return None.
   291      * @return None.
   292      */
   292      */
   293     void LocationTrailStateChange() __SOFTFP;
   293     void LocationTrailStateChange();
   294     
   294     
   295     /**
   295     /**
   296      * Callback method to return current location.
   296      * Callback method to return current location.
   297      * @since S60 3.1
   297      * @since S60 3.1
   298      * @param aSatelliteInfo, includes position and satellite info.
   298      * @param aSatelliteInfo, includes position and satellite info.
   299      * @param aNetworkInfo, network and cell info.
   299      * @param aNetworkInfo, network and cell info.
   300      * @param aError.
   300      * @param aError.
   301      * @return None.
   301      * @return None.
   302      */
   302      */
   303     void CurrentLocation( const TPositionSatelliteInfo& aSatelliteInfo,
   303     void CurrentLocation( const TPositionSatelliteInfo& aSatelliteInfo,
   304     		const CTelephony::TNetworkInfoV1& aNetworkInfo, const TInt aError ) __SOFTFP;
   304     		const CTelephony::TNetworkInfoV1& aNetworkInfo, const TInt aError );
   305     
   305     
   306     /**
   306     /**
   307      * Callback method to notify observer of changes in GPS signal quality.
   307      * Callback method to notify observer of changes in GPS signal quality.
   308      * @param aSatelliteInfo, includes position and satellite info
   308      * @param aSatelliteInfo, includes position and satellite info
   309      * @return None.
   309      * @return None.
   310      */
   310      */
   311     void GPSSignalQualityChanged( const TPositionSatelliteInfo& aSatelliteInfo ) __SOFTFP;
   311     void GPSSignalQualityChanged( const TPositionSatelliteInfo& aSatelliteInfo );
   312     
   312     
   313     /**
   313     /**
   314      * Callback method to notify observer that during waiting for positioning stop timeout remap is done.
   314      * Callback method to notify observer that during waiting for positioning stop timeout remap is done.
   315      */
   315      */
   316     void RemapedCompleted();
   316     void RemapedCompleted();
   336 						const RArray<TItemId>& aObjectIdArray );
   336 						const RArray<TItemId>& aObjectIdArray );
   337 	
   337 	
   338 public: // from MGpxConversionObserver
   338 public: // from MGpxConversionObserver
   339 
   339 
   340 	void GpxFileCreated( const TDesC& aFileName, TItemId aTagId, TReal32 aLength,
   340 	void GpxFileCreated( const TDesC& aFileName, TItemId aTagId, TReal32 aLength,
   341 			TTime aStart, TTime aEnd ) __SOFTFP;
   341 			TTime aStart, TTime aEnd );
   342 
   342 
   343 private:    
   343 private:    
   344     /**
   344     /**
   345     * C++ constructor.
   345     * C++ constructor.
   346     */
   346     */