Mercurial > hg > sonic-visualiser
diff main/MainWindow.h @ 198:24ac2e4010c5
* 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 | c08c312b2399 |
children | 1871581e4da9 |
line wrap: on
line diff
--- a/main/MainWindow.h Thu Oct 18 15:31:20 2007 +0000 +++ b/main/MainWindow.h Thu Oct 18 16:20:26 2007 +0000 @@ -30,7 +30,7 @@ #include "transform/Transform.h" #include "document/SVFileReader.h" #include "data/fileio/FileFinder.h" -#include "data/fileio/RemoteFile.h" +#include "data/fileio/FileSource.h" #include <map> class Document; @@ -82,13 +82,13 @@ }; FileOpenStatus open(QString fileOrUrl, AudioFileOpenMode = AskUser); - FileOpenStatus open(RemoteFile source, AudioFileOpenMode = AskUser); + FileOpenStatus open(FileSource source, AudioFileOpenMode = AskUser); - FileOpenStatus openAudio(RemoteFile source, AudioFileOpenMode = AskUser); - FileOpenStatus openPlaylist(RemoteFile source, AudioFileOpenMode = AskUser); - FileOpenStatus openLayer(RemoteFile source); - FileOpenStatus openImage(RemoteFile source); - FileOpenStatus openSession(RemoteFile source); + FileOpenStatus openAudio(FileSource source, AudioFileOpenMode = AskUser); + FileOpenStatus openPlaylist(FileSource source, AudioFileOpenMode = AskUser); + FileOpenStatus openLayer(FileSource source); + FileOpenStatus openImage(FileSource source); + FileOpenStatus openSession(FileSource source); bool saveSessionFile(QString path); bool commitData(bool mayAskUser); // on session shutdown