changeset 1690:ea1aa24ebf89

Add function to request multiple filenames
author Chris Cannam
date Tue, 23 Apr 2019 16:17:13 +0100
parents 901f37d32060
children d08b560102a1 dbd13eb7dad1
files data/fileio/FileFinder.h
diffstat 1 files changed, 14 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/data/fileio/FileFinder.h	Thu Apr 04 11:15:43 2019 +0100
+++ b/data/fileio/FileFinder.h	Tue Apr 23 16:17:13 2019 +0100
@@ -35,11 +35,21 @@
         LayerFileNoMidiNonSV,
     };
 
-    virtual QString getOpenFileName(FileType type, QString fallbackLocation = "") = 0;
-    virtual QString getSaveFileName(FileType type, QString fallbackLocation = "") = 0;
-    virtual void registerLastOpenedFilePath(FileType type, QString path) = 0;
+    virtual QString getOpenFileName(FileType type,
+                                    QString fallbackLocation = "") = 0;
 
-    virtual QString find(FileType type, QString location, QString lastKnownLocation = "") = 0;
+    virtual QStringList getOpenFileNames(FileType type,
+                                         QString fallbackLocation = "") = 0;
+
+    virtual QString getSaveFileName(FileType type,
+                                    QString fallbackLocation = "") = 0;
+
+    virtual void registerLastOpenedFilePath(FileType type,
+                                            QString path) = 0;
+
+    virtual QString find(FileType type,
+                         QString location,
+                         QString lastKnownLocation = "") = 0;
 
     static FileFinder *getInstance() {
         FFContainer *container = FFContainer::getInstance();