engine/src/PodcastUtils.cpp
changeset 60 4d230e702aa3
parent 21 420a1b4930da
child 159 004508c4f714
--- a/engine/src/PodcastUtils.cpp	Thu Mar 11 20:53:00 2010 +0100
+++ b/engine/src/PodcastUtils.cpp	Tue Apr 27 19:26:48 2010 +0100
@@ -306,3 +306,15 @@
 	ReplaceString(aString, _L(">"), _L(">"));
 	ReplaceString(aString, _L("&"), _L("&"));
 	}
+
+EXPORT_C TBool PodcastUtils::IsVideoShow(TDesC &aUrl)
+	{
+	if (aUrl.Find(KVideoFormat1) != KErrNotFound ||
+			aUrl.Find(KVideoFormat2) != KErrNotFound ||
+			aUrl.Find(KVideoFormat3) != KErrNotFound)
+		{
+		return ETrue;
+		}
+
+	return EFalse;
+	}