serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tgetlocwrongcancel.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 WrongNotificationGetLoc() : iRetStatus(KErrGeneral) //Default constructor |
44 WrongNotificationGetLoc() : iRetStatus(KErrGeneral) //Default constructor |
45 { |
45 { |
46 ; |
46 ; |
151 |
151 |
152 TInt GetLocWrongCancel(TAny * /*Arg*/) |
152 TInt GetLocWrongCancel(TAny * /*Arg*/) |
153 { |
153 { |
154 // __UHEAP_MARK; |
154 // __UHEAP_MARK; |
155 CTrapCleanup* cleanup = CTrapCleanup::New(); |
155 CTrapCleanup* cleanup = CTrapCleanup::New(); |
156 TInt val = 0; |
156 TInt val ; |
157 TRAPD(err , (val = GetLocWrongCancelL() ) ) ; |
157 TRAPD(err , (val = GetLocWrongCancelL() ) ) ; |
158 delete cleanup ; |
158 delete cleanup ; |
159 // __UHEAP_MARKEND; |
159 // __UHEAP_MARKEND; |
160 |
160 |
161 return val ; |
161 return val ; |