diff data/model/WaveFileModel.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/model/WaveFileModel.h	Thu Oct 18 15:31:20 2007 +0000
+++ b/data/model/WaveFileModel.h	Thu Oct 18 16:20:26 2007 +0000
@@ -20,7 +20,7 @@
 #include <QMutex>
 #include <QTimer>
 
-#include "data/fileio/RemoteFile.h"
+#include "data/fileio/FileSource.h"
 
 #include "RangeSummarisableTimeValueModel.h"
 #include "PowerOfSqrtTwoZoomConstraint.h"
@@ -34,8 +34,8 @@
     Q_OBJECT
 
 public:
-    WaveFileModel(RemoteFile source, size_t targetRate = 0);
-    WaveFileModel(RemoteFile source, AudioFileReader *reader);
+    WaveFileModel(FileSource source, size_t targetRate = 0);
+    WaveFileModel(FileSource source, AudioFileReader *reader);
     ~WaveFileModel();
 
     bool isOK() const;
@@ -104,7 +104,7 @@
          
     void fillCache();
 
-    RemoteFile m_source;
+    FileSource m_source;
     QString m_path;
     AudioFileReader *m_reader;
     bool m_myReader;