Mercurial > hg > svcore
diff data/fileio/AudioFileReaderFactory.h @ 316:3a6725f285d6
* Make RemoteFile far more pervasive, and use it for local files as well
so that we can handle both transparently. Make it shallow copy with
reference counting, so it can be used by value without having to worry
about the cache file lifetime. Use RemoteFile for MainWindow file-open
functions, etc
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2007 15:31:20 +0000 |
parents | c022976d18e8 |
children | c324d410b096 |
line wrap: on
line diff
--- a/data/fileio/AudioFileReaderFactory.h Thu Oct 18 10:24:26 2007 +0000 +++ b/data/fileio/AudioFileReaderFactory.h Thu Oct 18 15:31:20 2007 +0000 @@ -18,6 +18,8 @@ #include <QString> +#include "RemoteFile.h" + class AudioFileReader; class AudioFileReaderFactory @@ -42,7 +44,7 @@ * * Caller owns the returned object and must delete it after use. */ - static AudioFileReader *createReader(QString path, size_t targetRate = 0); + static AudioFileReader *createReader(RemoteFile source, size_t targetRate = 0); }; #endif