2 voicegroup.cc -- implement Voice_group_engravers
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #include "musical-request.hh"
11 #include "voice-group-gravs.hh"
12 #include "engraver.hh"
13 #include "command-request.hh"
17 Voice_group_engravers::Voice_group_engravers()
23 Voice_group_engravers::do_try_request (Request
*r_l
)
25 Command_req
* c_l
= r_l
->command();
26 if (c_l
&& c_l
->groupfeature())
29 f
.type_
= c_l
->groupfeature()->type_str_
;
30 f
.value_
= c_l
->groupfeature()->value_str_
;
34 return Engraver_group_engraver::do_try_request (r_l
);
39 IMPLEMENT_IS_TYPE_B1(Voice_group_engravers
,Engraver_group_engraver
);
42 Voice_group_engravers::do_print() const
45 Engraver_group_engraver::do_print();
52 Voice_group_engravers::get_feature (String f
)
56 Engraver_group_engraver::get_feature (f
);
59 ADD_THIS_ENGRAVER(Voice_group_engravers
);