summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-07-26 17:22:10 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-07-26 17:22:10 +0000
commit8fb9e72a77ac1366ed1aca18f7f76ee4179d9f89 (patch)
tree413eb2633c4a69588fbd2ba76e20ee598fd3229b /gtk2_ardour/sfdb_ui.h
parent921358a5f35beebbed54082f8e55fec9c7758670 (diff)
allow import to selected MIDI tracks (note that this gets confused if the MIDI file contains multiple MetaTracks - each track ends up in the same track, which may or may not be the right thing)
git-svn-id: svn://localhost/ardour2/branches/3.0@9938 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r--gtk2_ardour/sfdb_ui.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h
index d0cde342f8..5e24d99434 100644
--- a/gtk2_ardour/sfdb_ui.h
+++ b/gtk2_ardour/sfdb_ui.h
@@ -205,10 +205,12 @@ class SoundFileOmega : public SoundFileBrowser
{
public:
- SoundFileOmega (Gtk::Window& parent, std::string title, ARDOUR::Session* _s, int selected_tracks, bool persistent,
+ SoundFileOmega (Gtk::Window& parent, std::string title, ARDOUR::Session* _s,
+ uint32_t selected_audio_tracks, uint32_t selected_midi_tracks,
+ bool persistent,
Editing::ImportMode mode_hint = Editing::ImportAsTrack);
- void reset (int selected_tracks);
+ void reset (uint32_t selected_audio_tracks, uint32_t selected_midi_tracks);
Gtk::ComboBoxText action_combo;
Gtk::ComboBoxText where_combo;
@@ -227,7 +229,8 @@ class SoundFileOmega : public SoundFileBrowser
void on_hide();
private:
- uint32_t selected_track_cnt;
+ uint32_t selected_audio_track_cnt;
+ uint32_t selected_midi_track_cnt;
typedef std::map<std::string,Editing::ImportDisposition> DispositionMap;
DispositionMap disposition_map;