engine/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcetaskmds.cpp
--- a/engine/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcetaskmds.cpp Tue Sep 07 13:12:03 2010 +0530
+++ b/engine/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcetaskmds.cpp Mon Sep 20 12:39:08 2010 +0530
@@ -71,6 +71,7 @@
_LIT(KPropertyDefNameTitle, "Title");
_LIT(KPropertyDefNameFrameCount, "FrameCount");
_LIT(KPropertyDefNameOrigin, "Origin");
+_LIT(KPropertyDefNameMymetype, "ItemType");
// ----------------------------------------------------------------------------
// Constructor
@@ -360,7 +361,12 @@
logicCondition.AddObjectConditionL( DataSource()->ImageDef() );
}
}
-
+ if(aFilterProperties.iMimeType)
+ {
+ CMdEPropertyDef& mimetypeProperty = aObjectDef.GetPropertyDefL(KPropertyDefNameMymetype);
+ aLogicCondition.AddPropertyConditionL(mimetypeProperty, ETextPropertyConditionCompareEndsWith,*aFilterProperties.iMimeType);
+ }
+
if( aFilterProperties.iExcludeAnimation )
{
// Exclude any image with a frame count > 1