diff layer/ImageLayer.h @ 318:e9fe3923bdf4

* 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 c0b9eec70639
children 020c485aa7e0
line wrap: on
line diff
--- a/layer/ImageLayer.h	Thu Oct 18 15:31:20 2007 +0000
+++ b/layer/ImageLayer.h	Thu Oct 18 16:20:26 2007 +0000
@@ -28,7 +28,7 @@
 
 class View;
 class QPainter;
-class RemoteFile;
+class FileSource;
 
 class ImageLayer : public Layer
 {
@@ -115,12 +115,12 @@
 
     typedef std::map<QString, QImage> ImageMap;
     typedef std::map<const View *, ImageMap> ViewImageMap;
-    typedef std::map<QString, RemoteFile *> RemoteFileMap;
+    typedef std::map<QString, FileSource *> FileSourceMap;
 
     static ImageMap m_images;
     static QMutex m_imageMapMutex;
     mutable ViewImageMap m_scaled;
-    mutable RemoteFileMap m_remoteFiles;
+    mutable FileSourceMap m_remoteFiles;
 
     QString getLocalFilename(QString img) const;
     void checkAddRemote(QString img) const;