photosgallery/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcetaskmds.cpp
equal
deleted
inserted
replaced
350 aLogicCondition.AddPropertyConditionL(originProperty, TMdEUintEqual( |
350 aLogicCondition.AddPropertyConditionL(originProperty, TMdEUintEqual( |
351 MdeConstants::Object::ECamera)); |
351 MdeConstants::Object::ECamera)); |
352 } |
352 } |
353 else if(EGlxFilterOriginAll == aFilterProperties.iOrigin ) |
353 else if(EGlxFilterOriginAll == aFilterProperties.iOrigin ) |
354 { |
354 { |
355 // The Months Collection Populates All the Items |
355 // The Months Collection Populates All the Items, filter |
356 aLogicCondition.AddPropertyConditionL(originProperty, TMdEUintGreaterEqual( |
356 // it for Images and Videos only |
357 MdeConstants::Object::EOther)); |
357 CMdELogicCondition& logicCondition = |
|
358 aLogicCondition.AddLogicConditionL(ELogicConditionOperatorOr); |
|
359 logicCondition.AddObjectConditionL( DataSource()->ImageDef() ); |
|
360 logicCondition.AddObjectConditionL( DataSource()->VideoDef() ); |
358 } |
361 } |
359 } |
362 } |
360 |
363 |
361 if( aFilterProperties.iExcludeAnimation ) |
364 if( aFilterProperties.iExcludeAnimation ) |
362 { |
365 { |