mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp
equal
deleted
inserted
replaced
68 aConnection, |
68 aConnection, |
69 sizeof ( KMTPGetObjectPropValuePolicy ) / sizeof ( TMTPRequestElementInfo ), |
69 sizeof ( KMTPGetObjectPropValuePolicy ) / sizeof ( TMTPRequestElementInfo ), |
70 KMTPGetObjectPropValuePolicy ), |
70 KMTPGetObjectPropValuePolicy ), |
71 iDpConfig( aDpConfig ) |
71 iDpConfig( aDpConfig ) |
72 { |
72 { |
73 SetPSStatus(); |
|
74 PRINT( _L( "Operation: GetObjectPropValue(0x9803)" ) ); |
73 PRINT( _L( "Operation: GetObjectPropValue(0x9803)" ) ); |
75 } |
74 } |
76 |
75 |
77 // ----------------------------------------------------------------------------- |
76 // ----------------------------------------------------------------------------- |
78 // CGetObjectPropValue::CheckRequestL |
77 // CGetObjectPropValue::CheckRequestL |
128 // ----------------------------------------------------------------------------- |
127 // ----------------------------------------------------------------------------- |
129 // |
128 // |
130 EXPORT_C void CGetObjectPropValue::ServiceL() |
129 EXPORT_C void CGetObjectPropValue::ServiceL() |
131 { |
130 { |
132 PRINT( _L( "MM MTP => CGetObjectPropValue::ServiceL" ) ); |
131 PRINT( _L( "MM MTP => CGetObjectPropValue::ServiceL" ) ); |
|
132 |
|
133 MmMtpDpUtility::SetPSStatus(EMtpPSStatusActive); |
133 |
134 |
134 //Get the request information |
135 //Get the request information |
135 TUint32 objectHandle = Request().Uint32( TMTPTypeRequest::ERequestParameter1 ); |
136 TUint32 objectHandle = Request().Uint32( TMTPTypeRequest::ERequestParameter1 ); |
136 TUint32 propCode = Request().Uint32( TMTPTypeRequest::ERequestParameter2 ); |
137 TUint32 propCode = Request().Uint32( TMTPTypeRequest::ERequestParameter2 ); |
137 PRINT2( _L( "MM MTP <> CGetObjectPropValue::ServiceL objectHandle = 0x%x, propCode = 0x%x" ), |
138 PRINT2( _L( "MM MTP <> CGetObjectPropValue::ServiceL objectHandle = 0x%x, propCode = 0x%x" ), |