Mercurial > hg > sonic-visualiser
comparison 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 |
comparison
equal
deleted
inserted
replaced
197:c08c312b2399 | 198:24ac2e4010c5 |
---|---|
28 #include "base/RecentFiles.h" | 28 #include "base/RecentFiles.h" |
29 #include "layer/LayerFactory.h" | 29 #include "layer/LayerFactory.h" |
30 #include "transform/Transform.h" | 30 #include "transform/Transform.h" |
31 #include "document/SVFileReader.h" | 31 #include "document/SVFileReader.h" |
32 #include "data/fileio/FileFinder.h" | 32 #include "data/fileio/FileFinder.h" |
33 #include "data/fileio/RemoteFile.h" | 33 #include "data/fileio/FileSource.h" |
34 #include <map> | 34 #include <map> |
35 | 35 |
36 class Document; | 36 class Document; |
37 class PaneStack; | 37 class PaneStack; |
38 class Pane; | 38 class Pane; |
80 FileOpenCancelled, | 80 FileOpenCancelled, |
81 FileOpenWrongMode // attempted to open layer when no main model present | 81 FileOpenWrongMode // attempted to open layer when no main model present |
82 }; | 82 }; |
83 | 83 |
84 FileOpenStatus open(QString fileOrUrl, AudioFileOpenMode = AskUser); | 84 FileOpenStatus open(QString fileOrUrl, AudioFileOpenMode = AskUser); |
85 FileOpenStatus open(RemoteFile source, AudioFileOpenMode = AskUser); | 85 FileOpenStatus open(FileSource source, AudioFileOpenMode = AskUser); |
86 | 86 |
87 FileOpenStatus openAudio(RemoteFile source, AudioFileOpenMode = AskUser); | 87 FileOpenStatus openAudio(FileSource source, AudioFileOpenMode = AskUser); |
88 FileOpenStatus openPlaylist(RemoteFile source, AudioFileOpenMode = AskUser); | 88 FileOpenStatus openPlaylist(FileSource source, AudioFileOpenMode = AskUser); |
89 FileOpenStatus openLayer(RemoteFile source); | 89 FileOpenStatus openLayer(FileSource source); |
90 FileOpenStatus openImage(RemoteFile source); | 90 FileOpenStatus openImage(FileSource source); |
91 FileOpenStatus openSession(RemoteFile source); | 91 FileOpenStatus openSession(FileSource source); |
92 | 92 |
93 bool saveSessionFile(QString path); | 93 bool saveSessionFile(QString path); |
94 bool commitData(bool mayAskUser); // on session shutdown | 94 bool commitData(bool mayAskUser); // on session shutdown |
95 | 95 |
96 signals: | 96 signals: |