xbmc/xbmc — pull request #1004 by barberio (2012-05-24 02:23:57+00:00)
Title: Initial work on passing flags to IFile objects to allow for special handling of context.

This patch set adds in passing the CFile's flags to the IFile. CacheFiles are handled, by altering the flags set to be safe flags.

This is required to fix bugs that require the IFile implimentations to know the context they are working in. New flags will be added to xbmc/filesystem/FileFlags.h and can then be checked against by IFile implementations. ( ie, not wanting to set CURLOPT_LOW_SPEED_LIMIT on CurlFiles that are media playback, as a pause or skip-backwards may cause the speed limit to triger and playback to be aborted. See http://forum.xbmc.org/showthread.php?tid=131873 )