diff main/MainWindow.h @ 86:6113fdda2737

* Add Open Location... * Add support for URLs in Recent Files * Do the right thing with the last location for file open dialogs when opening a URL (i.e. don't change it to the temporary file directory)
author Chris Cannam
date Wed, 10 Jan 2007 12:27:55 +0000
parents 4eae5b521a34
children 51be0daa1386
line wrap: on
line diff
--- a/main/MainWindow.h	Mon Jan 08 17:04:35 2007 +0000
+++ b/main/MainWindow.h	Wed Jan 10 12:27:55 2007 +0000
@@ -114,6 +114,7 @@
     void importAudio();
     void importMoreAudio();
     void openSomething();
+    void openLocation();
     void openRecentFile();
     void exportAudio();
     void importLayer();
@@ -369,6 +370,13 @@
         AnyFile
     };
 
+    FileOpenStatus openSomeFile(QString path, QString location,
+                                AudioFileOpenMode = AskUser);
+    FileOpenStatus openAudioFile(QString path, QString location,
+                                 AudioFileOpenMode = AskUser);
+    FileOpenStatus openLayerFile(QString path, QString location);
+    FileOpenStatus openSessionFile(QString path, QString location);
+
     QString getOpenFileName(FileType type);
     QString getSaveFileName(FileType type);
     void registerLastOpenedFilePath(FileType type, QString path);