# HG changeset patch # User Chris Cannam # Date 1556032633 -3600 # Node ID ea1aa24ebf89b3b08d5d0c138b5987235abcece5 # Parent 901f37d320608feddcdd67ed4e1ac671db8159d0 Add function to request multiple filenames diff -r 901f37d32060 -r ea1aa24ebf89 data/fileio/FileFinder.h --- 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();