equal
deleted
inserted
replaced
23 #include "cmtpdataprovidercontroller.h" |
23 #include "cmtpdataprovidercontroller.h" |
24 #include "cmtpparserrouter.h" |
24 #include "cmtpparserrouter.h" |
25 #include "cmtpdataprovider.h" |
25 #include "cmtpdataprovider.h" |
26 #include "cmtpgetobjectpropssupported.h" |
26 #include "cmtpgetobjectpropssupported.h" |
27 #include "mtpproxydppanic.h" |
27 #include "mtpproxydppanic.h" |
|
28 #include "OstTraceDefinitions.h" |
|
29 #ifdef OST_TRACE_COMPILER_IN_USE |
|
30 #include "cmtpgetobjectpropssupportedTraces.h" |
|
31 #endif |
|
32 |
28 |
33 |
29 /** |
34 /** |
30 Factory method. |
35 Factory method. |
31 @param aFramework The data provider framework |
36 @param aFramework The data provider framework |
32 @param aConnection The connection from which the request comes |
37 @param aConnection The connection from which the request comes |
88 { |
93 { |
89 const TInt KErr(iObjectPropsSupported.InsertInOrder(KProperties.ElementUint(i))); |
94 const TInt KErr(iObjectPropsSupported.InsertInOrder(KProperties.ElementUint(i))); |
90 if ((KErr != KErrNone) && |
95 if ((KErr != KErrNone) && |
91 (KErr != KErrAlreadyExists)) |
96 (KErr != KErrAlreadyExists)) |
92 { |
97 { |
|
98 OstTrace1( TRACE_ERROR, CMTPGETOBJECTPROPSSUPPORTED_PROXYSENDDATAL, "add property to support property list error! error code:%d", KErr ); |
93 User::Leave(KErr); |
99 User::Leave(KErr); |
94 } |
100 } |
95 } |
101 } |
96 TRequestStatus* status(&aStatus); |
102 TRequestStatus* status(&aStatus); |
97 User::RequestComplete(status, KErrNone); |
103 User::RequestComplete(status, KErrNone); |