]> git.donarmstrong.com Git - lilypond.git/blob - midi2ly/include/lilypond-voice.hh
patch::: 1.5.18.moh1: [PATCH] 1.4 Lyric alignment
[lilypond.git] / midi2ly / include / lilypond-voice.hh
1 //
2 // lilypond-voice.hh -- declare Lilypond_voice
3 //
4 // (c) 1997--2001 Jan Nieuwenhuizen <janneke@gnu.org>
5
6 #ifndef LILYPOND_VOICE_HH
7 #define LILYPOND_VOICE_HH
8
9 #include "midi2ly-proto.hh"
10 //#include "flower-proto.hh"
11 #include "parray.hh"
12 #include "cons.hh"
13
14 /// (lilypond_voice)
15 class Lilypond_voice
16 {
17 public:
18   Lilypond_voice (Lilypond_staff* lilypond_staff_l);
19   void add_items (Link_array<Lilypond_item>& items);
20   void output (Lilypond_stream& lilypond_stream_r);
21   String get_clef () const;
22
23 private:
24   Lilypond_staff* lilypond_staff_l_;
25   Link_array < Cons_list<Lilypond_item> > threads_;
26   Rational mom_;
27 };
28
29 #endif // LILYPOND_VOICE_HH
30