AU: install latency listener
[ardour.git] / gtk2_ardour / patch_change_dialog.h
index 0d02112091505b899acbea8526e3b78b860777e6..d19234d2c47ae1536d183fe87722668cdb274d0d 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <gtkmm/spinbutton.h>
 #include <gtkmm/comboboxtext.h>
-#include "midi++/midnam_patch.h"
+
 #include "evoral/PatchChange.hpp"
 #include "ardour_dialog.h"
 #include "audio_clock.h"
@@ -43,12 +43,13 @@ public:
        PatchChangeDialog (
                const ARDOUR::BeatsFramesConverter *,
                ARDOUR::Session *,
-               Evoral::PatchChange<Evoral::MusicalTime> const &,
+               Evoral::PatchChange<Evoral::Beats> const &,
                ARDOUR::InstrumentInfo&,
-               const Gtk::BuiltinStockID &
+               const Gtk::BuiltinStockID &,
+               bool allow_delete = false
                );
 
-       Evoral::PatchChange<Evoral::MusicalTime> patch () const;
+       Evoral::PatchChange<Evoral::Beats> patch () const;
 
 private:
        void fill_bank_combo ();