lilypond-0.1.14
[lilypond.git] / m2m / include / midi-voice.hh
blobcf3df8417183520e337fe0fed5017b28c1affb31
1 //
2 // midi-voice.hh -- declare midi_voice
3 //
4 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
6 /// (midi_voice)
7 #ifndef MIDI_VOICE_HH
8 #define MIDI_VOICE_HH
10 class Midi_voice {
11 public:
12 Midi_voice( Moment begin_mom );
14 void add_event( Midi_event* midi_event_p );
15 Moment begin_mom();
16 Moment end_mom();
18 String mudela_str( Moment from_mom, Moment to_mom, bool multiple_bo );
20 private:
21 Moment begin_mom_;
22 IPointerList<Midi_event*> midi_event_p_list_;
25 #endif // MIDI_VOICE_HH