comparison widgets/MIDIFileImportDialog.h @ 378:22b72f0f6a4e

* More work to abstract out interactive components used in the data library, so that it does not need to depend on QtGui.
author Chris Cannam
date Fri, 14 Mar 2008 17:14:21 +0000
parents
children 2c59b0cd176b
comparison
equal deleted inserted replaced
377:0bcb449d15f4 378:22b72f0f6a4e
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 Sonic Visualiser
5 An audio file viewer and annotation editor.
6 Centre for Digital Music, Queen Mary, University of London.
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of the
11 License, or (at your option) any later version. See the file
12 COPYING included with this distribution for more information.
13 */
14
15 #ifndef _MIDI_FILE_IMPORT_DIALOG_H_
16 #define _MIDI_FILE_IMPORT_DIALOG_H_
17
18 #include <QObject>
19
20 #include "data/fileio/MIDIFileReader.h"
21
22 class MIDIFileImportDialog : public QObject,
23 public MIDIFileImportPreferenceAcquirer
24 {
25 public:
26 MIDIFileImportDialog(QWidget *parent = 0);
27
28 virtual TrackPreference getTrackImportPreference
29 (QStringList trackNames, bool haveSomePercussion,
30 QString &singleTrack) const;
31
32 virtual void showError(QString error);
33
34 protected:
35 QWidget *m_parent;
36 };
37
38 #endif