summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-18 19:45:52 +0000
committerDavid Robillard <d@drobilla.net>2008-02-18 19:45:52 +0000
commitfbfb26b45c075da880861cf2303b851fe1acc0e8 (patch)
tree4673a82d5516535b17e9c60ffd57a206801a1e01 /gtk2_ardour/sfdb_ui.h
parent1b2fe7bf34f1e05ab4e3975ac91aeda28a4d11d0 (diff)
Preliminary (read: kludgey) MIDI import support.
Only really works when tracks contain only channel 1 data for now. git-svn-id: svn://localhost/ardour2/branches/3.0@3083 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r--gtk2_ardour/sfdb_ui.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h
index 43f76a9ea2..6565178bc6 100644
--- a/gtk2_ardour/sfdb_ui.h
+++ b/gtk2_ardour/sfdb_ui.h
@@ -132,7 +132,8 @@ class SoundFileBrowser : public ArdourDialog
protected:
bool resetting_ourselves;
- Gtk::FileFilter custom_filter;
+ Gtk::FileFilter audio_filter;
+ Gtk::FileFilter midi_filter;
Gtk::FileFilter matchall_filter;
SoundFileBox preview;
Gtk::HBox hpacker;
@@ -159,7 +160,8 @@ class SoundFileBrowser : public ArdourDialog
void chooser_file_activated ();
- bool on_custom (const Gtk::FileFilter::Info& filter_info);
+ bool on_audio_filter (const Gtk::FileFilter::Info& filter_info);
+ bool on_midi_filter (const Gtk::FileFilter::Info& filter_info);
virtual bool reset_options() { return true; }