summaryrefslogtreecommitdiff
path: root/src/audioextractor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-05-16 20:19:09 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-05-16 20:19:09 +0200
commit8a3a2834b84ba9cdb4b9c505b124774f14034d27 (patch)
treefa361c19792ca6580135197db7672fc5fa7cf911 /src/audioextractor.h
parent2840e3b4047fd0987095fb17ecbb154def019a2d (diff)
Store file list in instrument and make initial connections fomr UI connections to project storage.
Diffstat (limited to 'src/audioextractor.h')
-rw-r--r--src/audioextractor.h6
1 files changed, 5 insertions, 1 deletions
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<QString, QString> > 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;