serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/ttracelocwrongcancel.cpp
equal
deleted
inserted
replaced
36 TInt aCmdId, |
36 TInt aCmdId, |
37 TInt aEventId, |
37 TInt aEventId, |
38 CLiwGenericParamList& aEventParamList, |
38 CLiwGenericParamList& aEventParamList, |
39 const CLiwGenericParamList& aInParamList) |
39 const CLiwGenericParamList& aInParamList) |
40 { |
40 { |
41 return 0; |
41 |
42 } |
42 } |
43 |
43 |
44 WrongNotificationTraceLoc() : iRetStatus(KErrGeneral) //Default constructor |
44 WrongNotificationTraceLoc() : iRetStatus(KErrGeneral) //Default constructor |
45 { |
45 { |
46 ; |
46 ; |
156 |
156 |
157 TInt TraceLocWrongCancel(TAny * /*Arg*/) |
157 TInt TraceLocWrongCancel(TAny * /*Arg*/) |
158 { |
158 { |
159 // __UHEAP_MARK; |
159 // __UHEAP_MARK; |
160 CTrapCleanup* cleanup = CTrapCleanup::New(); |
160 CTrapCleanup* cleanup = CTrapCleanup::New(); |
161 TInt val = 0; |
161 TInt val ; |
162 TRAPD(err , (val = TraceLocWrongCancelL() ) ) ; |
162 TRAPD(err , (val = TraceLocWrongCancelL() ) ) ; |
163 delete cleanup ; |
163 delete cleanup ; |
164 // __UHEAP_MARKEND; |
164 // __UHEAP_MARKEND; |
165 |
165 |
166 return val ; |
166 return val ; |