equal
deleted
inserted
replaced
105 // ----------------------------------------------------------------------------- |
105 // ----------------------------------------------------------------------------- |
106 // |
106 // |
107 EXPORT_C void CCopyObject::ConstructL() |
107 EXPORT_C void CCopyObject::ConstructL() |
108 { |
108 { |
109 iPropertyList = CMTPTypeObjectPropList::NewL(); |
109 iPropertyList = CMTPTypeObjectPropList::NewL(); |
110 |
|
111 // Set the CenRep value of MTP status, |
|
112 // also need to do in other processors which related to MPX |
|
113 SetPSStatus(); |
|
114 } |
110 } |
115 |
111 |
116 // ----------------------------------------------------------------------------- |
112 // ----------------------------------------------------------------------------- |
117 // CCopyObject::ServiceL |
113 // CCopyObject::ServiceL |
118 // CopyObject request handler |
114 // CopyObject request handler |
120 // |
116 // |
121 EXPORT_C void CCopyObject::ServiceL() |
117 EXPORT_C void CCopyObject::ServiceL() |
122 { |
118 { |
123 PRINT( _L( "MM MTP => CCopyObject::ServiceL" ) ); |
119 PRINT( _L( "MM MTP => CCopyObject::ServiceL" ) ); |
124 |
120 |
|
121 MmMtpDpUtility::SetPSStatus(EMtpPSStatusActive); |
125 CopyObjectL(); |
122 CopyObjectL(); |
126 |
123 |
127 PRINT( _L( "MM MTP <= CCopyObject::ServiceL" ) ); |
124 PRINT( _L( "MM MTP <= CCopyObject::ServiceL" ) ); |
128 } |
125 } |
129 |
126 |
451 break; |
448 break; |
452 |
449 |
453 case EMTPObjectPropCodeNonConsumable: |
450 case EMTPObjectPropCodeNonConsumable: |
454 iTargetObject->SetUint( CMTPObjectMetaData::ENonConsumable, |
451 iTargetObject->SetUint( CMTPObjectMetaData::ENonConsumable, |
455 element.Uint8L( CMTPTypeObjectPropListElement::EValue ) ); |
452 element.Uint8L( CMTPTypeObjectPropListElement::EValue ) ); |
456 // TODO: need to reconsider, |
|
457 // should wait all property setting finished then insert object, or not? |
453 // should wait all property setting finished then insert object, or not? |
458 // need to investigate if it will affect performance result |
454 // need to investigate if it will affect performance result |
459 iFramework.ObjectMgr().ModifyObjectL( *iTargetObject ); |
455 iFramework.ObjectMgr().ModifyObjectL( *iTargetObject ); |
460 break; |
456 break; |
461 |
457 |