changeset 90 | 50edf2be6f0d |
parent 21 | 420a1b4930da |
child 112 | 004508c4f714 |
--- a/engine/src/PodcastUtils.cpp Mon Apr 26 22:11:45 2010 +0100 +++ b/engine/src/PodcastUtils.cpp Mon Apr 26 23:08:41 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; + }