harvester/harvesterplugins/RTPPlugin/src/harvesterrtpplugin.cpp
changeset 28 c461c7fa72c2
parent 21 50bf9db68373
child 43 c5e73110f733
equal deleted inserted replaced
25:8e4539ab1889 28:c461c7fa72c2
    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         {