harvester/harvesterplugins/RTPPlugin/src/harvesterrtpplugin.cpp
branchRCL_3
changeset 13 4a4892eec172
parent 7 3cebc1a84278
child 19 b73252188534
equal deleted inserted replaced
12:9f21bab39f42 13:4a4892eec172
    48 	iCreationDatePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KCreationDateProperty );
    48 	iCreationDatePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KCreationDateProperty );
    49 	iLastModifiedDatePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KLastModifiedDateProperty );
    49 	iLastModifiedDatePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KLastModifiedDateProperty );
    50 	iSizePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KSizeProperty );
    50 	iSizePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KSizeProperty );
    51 	iItemTypePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KItemTypeProperty );
    51 	iItemTypePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KItemTypeProperty );
    52 	iTitlePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KTitleProperty );
    52 	iTitlePropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KTitleProperty );
       
    53 	iDefaultFolderPropertyDef = &objectDef.GetPropertyDefL( MdeConstants::Object::KInDefaultFolder );
    53 
    54 
    54 	CMdEObjectDef& mediaDef = nsDef.GetObjectDefL( MdeConstants::MediaObject::KMediaObject );
    55 	CMdEObjectDef& mediaDef = nsDef.GetObjectDefL( MdeConstants::MediaObject::KMediaObject );
    55 	iCaptureDatePropertyDef =& mediaDef.GetPropertyDefL( MdeConstants::MediaObject::KCaptureDateProperty );
    56 	iCaptureDatePropertyDef =& mediaDef.GetPropertyDefL( MdeConstants::MediaObject::KCaptureDateProperty );
    56 	iDurationPropertyDef = &mediaDef.GetPropertyDefL( MdeConstants::MediaObject::KDurationProperty );
    57 	iDurationPropertyDef = &mediaDef.GetPropertyDefL( MdeConstants::MediaObject::KDurationProperty );
    57 
    58 
   283     	CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, 
   284     	CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, 
   284     			*iPropDefs->iSizePropertyDef, &aClipDetails.iFileSize, aIsAdd );
   285     			*iPropDefs->iSizePropertyDef, &aClipDetails.iFileSize, aIsAdd );
   285         // Mime Type
   286         // Mime Type
   286         CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, 
   287         CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, 
   287                 *iPropDefs->iItemTypePropertyDef, &aClipDetails.iMimeType, aIsAdd );
   288                 *iPropDefs->iItemTypePropertyDef, &aClipDetails.iMimeType, aIsAdd );
       
   289         // Default folder
       
   290         TBool inDefaultFolder( ETrue );
       
   291         CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, 
       
   292                 *iPropDefs->iDefaultFolderPropertyDef, &inDefaultFolder, aIsAdd );
   288     	}
   293     	}
   289 
   294 
   290     // Title (is set from URI by default)
   295     // Title (is set from URI by default)
   291     if ( aClipDetails.iTitle.Length() > 0 ) 
   296     if ( aClipDetails.iTitle.Length() > 0 ) 
   292         {
   297         {