Unhardode log-message domain when logging to stdout
[ardour.git] / gtk2_ardour / midi_list_editor.h
index 9ff413946c49203c4b0038e882ef60f82cce83b2..764dc5696a5cb812fc263a1fd1618118cfa12075 100644 (file)
 #include <gtkmm/liststore.h>
 #include <gtkmm/scrolledwindow.h>
 
-#include "evoral/types.hpp"
-
 #include "ardour/session_handle.h"
 
 #include "ardour_window.h"
 
 namespace Evoral {
        template<typename Time> class Note;
+       class                         Beats;
 };
 
 namespace ARDOUR {
@@ -44,15 +43,16 @@ namespace ARDOUR {
 
 class MidiListEditor : public ArdourWindow
 {
-  public:
-       typedef Evoral::Note<Evoral::Beats> NoteType;
+public:
+       typedef Evoral::Note<Temporal::Beats> NoteType;
 
        MidiListEditor(ARDOUR::Session*, boost::shared_ptr<ARDOUR::MidiRegion>,
-                      boost::shared_ptr<ARDOUR::MidiTrack>);
+                      boost::shared_ptr<ARDOUR::MidiTrack>);
        ~MidiListEditor();
 
-  private:
-       struct MidiListModelColumns : public Gtk::TreeModel::ColumnRecord {
+private:
+       struct MidiListModelColumns : public Gtk::TreeModel::ColumnRecord
+       {
                MidiListModelColumns() {
                        add (channel);
                        add (note);
@@ -71,7 +71,8 @@ class MidiListEditor : public ArdourWindow
                Gtk::TreeModelColumn<boost::shared_ptr<NoteType> > _note;
        };
 
-       struct NoteLengthColumns : public Gtk::TreeModel::ColumnRecord {
+       struct NoteLengthColumns : public Gtk::TreeModel::ColumnRecord
+       {
                NoteLengthColumns() {
                        add (ticks);
                        add (name);