From 8a3a2834b84ba9cdb4b9c505b124774f14034d27 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 16 May 2018 20:19:09 +0200 Subject: Store file list in instrument and make initial connections fomr UI connections to project storage. --- src/audioextractor.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/audioextractor.h') diff --git a/src/audioextractor.h b/src/audioextractor.h index 2c38f91..a38f706 100644 --- a/src/audioextractor.h +++ b/src/audioextractor.h @@ -35,6 +35,8 @@ #include "selection.h" #include "samplesorter.h" +class Instrument; + typedef QLinkedList< QPair > AudioFileList; class AudioExtractor @@ -42,7 +44,8 @@ class AudioExtractor { Q_OBJECT public: - AudioExtractor(Selections& selections, QObject* parent); + AudioExtractor(Instrument& instrument, Selections& selections, + QObject* parent); public slots: void addFile(QString file, QString name); @@ -58,6 +61,7 @@ signals: void setMaximumProgress(int value); private: + Instrument& instrument; Selections& selections; AudioFileList audiofiles; QString exportpath; -- cgit v1.2.3