summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/note_base.h')
-rw-r--r--gtk2_ardour/note_base.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/note_base.h b/gtk2_ardour/note_base.h
index 04de75f48f..be9f3b67ca 100644
--- a/gtk2_ardour/note_base.h
+++ b/gtk2_ardour/note_base.h
@@ -21,8 +21,9 @@
#define __gtk_ardour_note_base_h__
#include <boost/shared_ptr.hpp>
+
#include "canvas/types.h"
-#include "ardour/midi_model.h"
+#include "evoral/types.hpp"
#include "rgb_macros.h"
#include "ardour_ui.h"
@@ -54,7 +55,7 @@ namespace ArdourCanvas {
class NoteBase : public sigc::trackable
{
public:
- typedef Evoral::Note<ARDOUR::MidiModel::TimeType> NoteType;
+ typedef Evoral::Note<Evoral::MusicalTime> NoteType;
NoteBase (MidiRegionView& region, bool, const boost::shared_ptr<NoteType> note = boost::shared_ptr<NoteType>());
virtual ~NoteBase ();