1 #ifndef __gtk2_ardour_note_player_h__
2 #define __gtk2_ardour_note_player_h__
5 #include <boost/shared_ptr.hpp>
6 #include <sigc++/trackable.h>
8 #include "evoral/Note.hpp"
14 class NotePlayer
: public sigc::trackable
{
16 typedef Evoral::Note
<Evoral::MusicalTime
> NoteType
;
18 NotePlayer (boost::shared_ptr
<ARDOUR::MidiTrack
>);
21 void add (boost::shared_ptr
<NoteType
>);
25 static bool _off (NotePlayer
*);
28 typedef std::vector
<boost::shared_ptr
<NoteType
> > NoteList
;
30 boost::shared_ptr
<ARDOUR::MidiTrack
> track
;
34 #endif /* __gtk2_ardour_note_player_h__ */