serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tgetlocationcancel.cpp
equal
deleted
inserted
replaced
37 TInt aCmdId, |
37 TInt aCmdId, |
38 TInt aEventId, |
38 TInt aEventId, |
39 CLiwGenericParamList& aEventParamList, |
39 CLiwGenericParamList& aEventParamList, |
40 const CLiwGenericParamList& aInParamList) |
40 const CLiwGenericParamList& aInParamList) |
41 { |
41 { |
42 return 0; |
42 |
43 } |
43 } |
44 |
44 |
45 GetLoctionCancel() : iRetStatus(KErrGeneral) //Default constructor |
45 GetLoctionCancel() : iRetStatus(KErrGeneral) //Default constructor |
46 { |
46 { |
47 ; |
47 ; |
149 |
149 |
150 TInt GetLocCancel(TAny * /*Arg*/) |
150 TInt GetLocCancel(TAny * /*Arg*/) |
151 { |
151 { |
152 // __UHEAP_MARK; |
152 // __UHEAP_MARK; |
153 CTrapCleanup* cleanup = CTrapCleanup::New(); |
153 CTrapCleanup* cleanup = CTrapCleanup::New(); |
154 TInt val = 0; |
154 TInt val ; |
155 TRAPD(err , (val = GetLocCancelL() ) ) ; |
155 TRAPD(err , (val = GetLocCancelL() ) ) ; |
156 delete cleanup ; |
156 delete cleanup ; |
157 // __UHEAP_MARKEND; |
157 // __UHEAP_MARKEND; |
158 |
158 |
159 return val ; |
159 return val ; |