serviceproviders/sapi_mediamanagement/tsrc/dev/tmediamgmttest/src/mediamgmtblocks.cpp
equal
deleted
inserted
replaced
19 |
19 |
20 |
20 |
21 // INCLUDE FILES |
21 // INCLUDE FILES |
22 #include <e32svr.h> |
22 #include <e32svr.h> |
23 #include <StifParser.h> |
23 #include <StifParser.h> |
24 #include <Stiftestinterface.h> |
24 #include <StifTestInterface.h> |
25 #include <utf.h> |
25 #include <utf.h> |
26 #include "MediaMgmt.h" |
26 #include "mediamgmt.h" |
27 #include "mgitemslist.h" |
27 #include "mgitemslist.h" |
28 using namespace LIW; |
28 using namespace LIW; |
29 |
29 |
30 |
30 |
31 _LIT8(KResponse,"Response"); |
31 _LIT8(KResponse,"Response"); |
207 // |
207 // |
208 |
208 |
209 |
209 |
210 void Callback::MgNotifyL(TUint /*aTransactionID*/, |
210 void Callback::MgNotifyL(TUint /*aTransactionID*/, |
211 MCLFItemListModel* aListModel, |
211 MCLFItemListModel* aListModel, |
|
212 CClfOperationObserver* aOperationObserver, |
212 TMgOperationEvent& aOperationEvent, |
213 TMgOperationEvent& aOperationEvent, |
213 const TInt& aError ) |
214 const TInt& aError ) |
214 |
215 |
215 |
216 |
216 { |
217 { |
245 } |
246 } |
246 else |
247 else |
247 { |
248 { |
248 delete aListModel; |
249 delete aListModel; |
249 aListModel = NULL; |
250 aListModel = NULL; |
|
251 delete aOperationObserver; |
|
252 aOperationObserver = NULL; |
250 } |
253 } |
251 |
254 |
252 |
255 |
253 // call callback of consumer |
256 // call callback of consumer |
254 if( KErrNone == aError ) |
257 if( KErrNone == aError ) |