Mercurial > hg > svcore
diff data/fileio/MP3FileReader.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/MP3FileReader.h Thu Oct 18 15:31:20 2007 +0000 +++ b/data/fileio/MP3FileReader.h Thu Oct 18 16:20:26 2007 +0000 @@ -35,7 +35,7 @@ DecodeThreaded // decode in a background thread after construction }; - MP3FileReader(RemoteFile source, + MP3FileReader(FileSource source, DecodeMode decodeMode, CacheMode cacheMode, size_t targetRate = 0); @@ -48,7 +48,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; } @@ -57,7 +57,7 @@ } protected: - RemoteFile m_source; + FileSource m_source; QString m_path; QString m_error; QString m_title;