equal
deleted
inserted
replaced
29 } |
29 } |
30 |
30 |
31 EXPORT_C RLocationTrail::~RLocationTrail() |
31 EXPORT_C RLocationTrail::~RLocationTrail() |
32 { |
32 { |
33 delete iCurrentLocData; |
33 delete iCurrentLocData; |
34 iCurrentLocData = NULL; |
|
35 } |
34 } |
36 |
35 |
37 // -------------------------------------------------------------------------- |
36 // -------------------------------------------------------------------------- |
38 // RLocationTrail::StartLocationTrail |
37 // RLocationTrail::StartLocationTrail |
39 // -------------------------------------------------------------------------- |
38 // -------------------------------------------------------------------------- |
147 TLocationData& aLocationData ) |
146 TLocationData& aLocationData ) |
148 { |
147 { |
149 LOG( "RLocationTrail::CurrentLocation(), begin" ); |
148 LOG( "RLocationTrail::CurrentLocation(), begin" ); |
150 |
149 |
151 delete iCurrentLocData; |
150 delete iCurrentLocData; |
152 iCurrentLocData = NULL; |
|
153 iCurrentLocData = new TPckg<TLocationData>( aLocationData ); |
151 iCurrentLocData = new TPckg<TLocationData>( aLocationData ); |
154 |
152 |
155 if ( iHandle && iCurrentLocData ) |
153 if ( iHandle && iCurrentLocData ) |
156 { |
154 { |
157 SendReceive( ELocManCurrentLoc, TIpcArgs( iCurrentLocData ), aStatus ); |
155 SendReceive( ELocManCurrentLoc, TIpcArgs( iCurrentLocData ), aStatus ); |