Chris@378: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */
Chris@378: 
Chris@378: /*
Chris@378:     Sonic Visualiser
Chris@378:     An audio file viewer and annotation editor.
Chris@378:     Centre for Digital Music, Queen Mary, University of London.
Chris@378:     
Chris@378:     This program is free software; you can redistribute it and/or
Chris@378:     modify it under the terms of the GNU General Public License as
Chris@378:     published by the Free Software Foundation; either version 2 of the
Chris@378:     License, or (at your option) any later version.  See the file
Chris@378:     COPYING included with this distribution for more information.
Chris@378: */
Chris@378: 
Chris@1407: #ifndef SV_MIDI_FILE_IMPORT_DIALOG_H
Chris@1407: #define SV_MIDI_FILE_IMPORT_DIALOG_H
Chris@378: 
Chris@378: #include <QObject>
Chris@378: 
Chris@378: #include "data/fileio/MIDIFileReader.h"
Chris@378: 
Chris@378: class MIDIFileImportDialog : public QObject,
Chris@378:                              public MIDIFileImportPreferenceAcquirer
Chris@378: {
Chris@397:     Q_OBJECT
Chris@397: 
Chris@378: public:
Chris@378:     MIDIFileImportDialog(QWidget *parent = 0);
Chris@378: 
Chris@1406:     TrackPreference getTrackImportPreference
Chris@378:     (QStringList trackNames, bool haveSomePercussion,
Chris@1406:      QString &singleTrack) const override;
Chris@378: 
Chris@1406:     void showError(QString error) override;
Chris@378: 
Chris@378: protected:
Chris@378:     QWidget *m_parent;
Chris@378: };
Chris@378: 
Chris@378: #endif