equal
deleted
inserted
replaced
18 |
18 |
19 #include "cmtpfiledpconfigmgr.h" |
19 #include "cmtpfiledpconfigmgr.h" |
20 |
20 |
21 #include <mtp/mmtpdataproviderconfig.h> |
21 #include <mtp/mmtpdataproviderconfig.h> |
22 #include <mtp/mmtpdataproviderframework.h> |
22 #include <mtp/mmtpdataproviderframework.h> |
|
23 #include "OstTraceDefinitions.h" |
|
24 #ifdef OST_TRACE_COMPILER_IN_USE |
|
25 #include "cmtpfiledpconfigmgrTraces.h" |
|
26 #endif |
|
27 |
23 |
28 |
24 |
29 |
25 #define UNUSED_VAR(v) (v = v) |
30 #define UNUSED_VAR(v) (v = v) |
26 |
31 |
27 CMTPFileDpConfigMgr* CMTPFileDpConfigMgr::NewL(MMTPDataProviderFramework& aFramework) |
32 CMTPFileDpConfigMgr* CMTPFileDpConfigMgr::NewL(MMTPDataProviderFramework& aFramework) |
101 while(len--) |
106 while(len--) |
102 { |
107 { |
103 err = aArray.InsertInOrder(TUint(reader.ReadUint16())); |
108 err = aArray.InsertInOrder(TUint(reader.ReadUint16())); |
104 if( (err != KErrNone) && (err != KErrAlreadyExists) ) |
109 if( (err != KErrNone) && (err != KErrAlreadyExists) ) |
105 { |
110 { |
|
111 OstTrace1( TRACE_ERROR, CMTPFILEDPCONFIGMGR_READFORMATEXCLUSIONLISTL, "insert in aArray failed! error code %d", err ); |
106 User::Leave(err); |
112 User::Leave(err); |
107 } |
113 } |
108 } |
114 } |
109 |
115 |
110 CleanupStack::PopAndDestroy(res); |
116 CleanupStack::PopAndDestroy(res); |