mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp
branchRCL_3
changeset 9 bee149131e4b
parent 0 a2952bb97e68
child 14 05b0d2323768
equal deleted inserted replaced
4:d45095c2f4f3 9:bee149131e4b
   238                 {
   238                 {
   239                 iMTPTypeString = CMTPTypeString::NewL();
   239                 iMTPTypeString = CMTPTypeString::NewL();
   240                 ServiceMetaDataFromWrapperL( propCode, *iMTPTypeString, *iObjectInfo );
   240                 ServiceMetaDataFromWrapperL( propCode, *iMTPTypeString, *iObjectInfo );
   241                 break;
   241                 break;
   242                 }
   242                 }
       
   243             // Else, video DB does not support DateAdded field, use the file system date!
       
   244             // It's the same behavior with DateCreated and DateModified.
       
   245             // Fall through intentional.
   243             }
   246             }
   244         //lint -fallthrough
   247         //lint -fallthrough
   245         case EMTPObjectPropCodeDateCreated:
   248         case EMTPObjectPropCodeDateCreated:
   246         case EMTPObjectPropCodeDateModified:
   249         case EMTPObjectPropCodeDateModified:
   247             {
   250             {
   258             break;
   261             break;
   259 
   262 
   260         // Consumable
   263         // Consumable
   261         case EMTPObjectPropCodeNonConsumable:
   264         case EMTPObjectPropCodeNonConsumable:
   262             {
   265             {
   263             iMTPTypeUint8.Set( 0 );
   266             iMTPTypeUint8.Set( iObjectInfo->Uint( CMTPObjectMetaData::ENonConsumable ) );
   264             SendDataL( iMTPTypeUint8 );
   267             SendDataL( iMTPTypeUint8 );
   265             }
   268             }
   266             break;
   269             break;
   267 
   270 
   268         default:
   271         default: