commonutilities/common/src/glxfilterfactory.cpp
changeset 49 f291796e213d
parent 23 74c9f037fd5d
child 65 ccee5c4b0de4
--- a/commonutilities/common/src/glxfilterfactory.cpp	Wed Jun 23 18:12:48 2010 +0300
+++ b/commonutilities/common/src/glxfilterfactory.cpp	Tue Jul 06 14:16:16 2010 +0300
@@ -29,7 +29,19 @@
     filterProperties.iItemType = aItemType;
     return CreateCombinedFilterL(filterProperties);
     }
-    
+
+// ---------------------------------------------------------------------------
+// Creates a eclude drm image filter object
+// ---------------------------------------------------------------------------
+//   
+EXPORT_C CMPXFilter* TGlxFilterFactory::CreateExcludeDrmImageTypeFilterL(TGlxFilterItemType aFilterType)
+    {
+    TGlxFilterProperties filterProperties;
+	filterProperties.iItemType = EGlxFilterImage;
+	filterProperties.iNoDRM = ETrue;
+    return CreateCombinedFilterL(filterProperties);
+    }
+
 // ---------------------------------------------------------------------------
 // Creates a URI filter object
 // ---------------------------------------------------------------------------