Mercurial > hg > svcore
diff data/fileio/WavFileReader.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 | 700cd3350391 |
line wrap: on
line diff
--- a/data/fileio/WavFileReader.h Thu Oct 18 15:31:20 2007 +0000 +++ b/data/fileio/WavFileReader.h Thu Oct 18 16:20:26 2007 +0000 @@ -26,7 +26,7 @@ class WavFileReader : public AudioFileReader { public: - WavFileReader(RemoteFile source, bool fileUpdating = false); + WavFileReader(FileSource source, bool fileUpdating = false); virtual ~WavFileReader(); virtual QString getError() const { return m_error; } @@ -41,7 +41,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 100; } @@ -54,7 +54,7 @@ SF_INFO m_fileInfo; SNDFILE *m_file; - RemoteFile m_source; + FileSource m_source; QString m_path; QString m_error;