equal
deleted
inserted
replaced
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 { |