]> git.donarmstrong.com Git - lilypond.git/blob - mi2mu/include/mudela-staff.hh
patch::: 0.1.19.jcn2: mi2mu pats
[lilypond.git] / mi2mu / include / mudela-staff.hh
1 //
2 // mudela-staff.hh -- declare mudela_staff
3 //
4 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
5
6 #ifndef MUDELA_STAFF_HH
7 #define MUDELA_STAFF_HH
8
9 #include "mi2mu-proto.hh"
10 #include "proto.hh"
11 #include "plist.hh"
12 #include "string.hh"
13
14 /// (mudela_staff)
15 class Mudela_staff {
16 public:
17     Mudela_staff (int number_i, String copyright_str, String track_name_str, String instrument_str);
18
19     void add_item (Mudela_item* mudela_item_p);
20     void eat_voice (Link_list<Mudela_item*>& items);
21     String id_str();
22     String name_str();
23     void output (Mudela_stream& mudela_stream_r);
24     void process();
25
26     String copyright_str_;
27     String instrument_str_;
28     String name_str_;
29     Mudela_key* mudela_key_l_;
30     Mudela_meter* mudela_meter_l_;
31     Mudela_tempo* mudela_tempo_l_;
32     int number_i_;
33
34 private:
35     void output_mudela_begin_bar (Mudela_stream& mudela_stream_r, Moment now_mom, int bar_i);
36 #if 0
37     void output_mudela_rest (Mudela_stream& mudela_stream_r, Moment begin_mom, Moment end_mom);
38     void output_mudela_rest_remain (Mudela_stream& mudela_stream_r, Moment mom);
39 #endif
40
41     Pointer_list<Mudela_voice*> mudela_voice_p_list_;
42     Pointer_list<Mudela_item*> mudela_item_p_list_;
43 };
44
45 #endif // MUDELA_STAFF_HH
46