equal
deleted
inserted
replaced
114 objects.ModifyObjectL(*iObjectMeta); |
114 objects.ModifyObjectL(*iObjectMeta); |
115 break; |
115 break; |
116 case EMTPObjectPropCodeNonConsumable: |
116 case EMTPObjectPropCodeNonConsumable: |
117 iPropertyMgr.SetPropertyL(TMTPObjectPropertyCode(propertyCode), element.Uint8L(CMTPTypeObjectPropListElement::EValue)); |
117 iPropertyMgr.SetPropertyL(TMTPObjectPropertyCode(propertyCode), element.Uint8L(CMTPTypeObjectPropListElement::EValue)); |
118 objects.ModifyObjectL(*iObjectMeta); |
118 objects.ModifyObjectL(*iObjectMeta); |
119 break; |
119 break; |
|
120 case EMTPObjectPropCodeHidden: |
|
121 iPropertyMgr.SetPropertyL(TMTPObjectPropertyCode(propertyCode), element.Uint16L(CMTPTypeObjectPropListElement::EValue)); |
|
122 break; |
120 default: |
123 default: |
121 responseCode = EMTPRespCodeInvalidObjectPropCode; |
124 responseCode = EMTPRespCodeInvalidObjectPropCode; |
122 break; |
125 break; |
123 } |
126 } |
124 |
127 |
178 case EMTPObjectPropCodeNonConsumable: |
181 case EMTPObjectPropCodeNonConsumable: |
179 if (aDataType != EMTPTypeUINT8) |
182 if (aDataType != EMTPTypeUINT8) |
180 { |
183 { |
181 responseCode = EMTPRespCodeInvalidObjectPropFormat; |
184 responseCode = EMTPRespCodeInvalidObjectPropFormat; |
182 } |
185 } |
183 break; |
186 break; |
|
187 case EMTPObjectPropCodeHidden: |
|
188 if (aDataType != EMTPTypeUINT16) |
|
189 { |
|
190 responseCode = EMTPRespCodeInvalidObjectPropFormat; |
|
191 } |
|
192 break; |
184 default: |
193 default: |
185 responseCode = EMTPRespCodeInvalidObjectPropCode; |
194 responseCode = EMTPRespCodeInvalidObjectPropCode; |
186 } |
195 } |
187 __FLOG(_L8("<< CMTPImageDpSetObjectPropList::CheckPropCode")); |
196 __FLOG(_L8("<< CMTPImageDpSetObjectPropList::CheckPropCode")); |
188 return responseCode; |
197 return responseCode; |