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@378: #ifndef _MIDI_FILE_IMPORT_DIALOG_H_ Chris@378: #define _MIDI_FILE_IMPORT_DIALOG_H_ Chris@378: Chris@378: #include 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@378: virtual TrackPreference getTrackImportPreference Chris@378: (QStringList trackNames, bool haveSomePercussion, Chris@378: QString &singleTrack) const; Chris@378: Chris@378: virtual void showError(QString error); Chris@378: Chris@378: protected: Chris@378: QWidget *m_parent; Chris@378: }; Chris@378: Chris@378: #endif