Mercurial > hg > svcore
diff data/fileio/OggVorbisFileReader.h @ 317:c324d410b096
* RemoteFile -> FileSource
now it's used all over the place for local files as well.
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2007 16:20:26 +0000 |
parents | 3a6725f285d6 |
children | 1afaf98dbf11 |
line wrap: on
line diff
--- a/data/fileio/OggVorbisFileReader.h Thu Oct 18 15:31:20 2007 +0000 +++ b/data/fileio/OggVorbisFileReader.h Thu Oct 18 16:20:26 2007 +0000 @@ -37,7 +37,7 @@ DecodeThreaded // decode in a background thread after construction }; - OggVorbisFileReader(RemoteFile source, + OggVorbisFileReader(FileSource source, DecodeMode decodeMode, CacheMode cacheMode, size_t targetRate = 0); @@ -50,7 +50,7 @@ static void getSupportedExtensions(std::set<QString> &extensions); static bool supportsExtension(QString ext); static bool supportsContentType(QString type); - static bool supports(RemoteFile &source); + static bool supports(FileSource &source); virtual int getDecodeCompletion() const { return m_completion; } @@ -59,7 +59,7 @@ } protected: - RemoteFile m_source; + FileSource m_source; QString m_path; QString m_error; QString m_title;