2 voicegroup.cc -- implement Voice_group_registers
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
8 #include "music-list.hh"
11 #include "musical-request.hh"
12 #include "voice-regs.hh"
13 #include "voice-group-regs.hh"
14 #include "register.hh"
15 #include "command-request.hh"
17 #include "input-register.hh"
18 #include "time-description.hh"
21 Voice_group_registers::Voice_group_registers()
27 Voice_group_registers::do_try_request(Request
*r_l
)
29 Command_req
* c_l
= r_l
->command();
30 if (c_l
&& c_l
->groupfeature()) {
32 f
.type_
= c_l
->groupfeature()->type_str_
;
33 f
.value_
= c_l
->groupfeature()->value_str_
;
37 return Register_group_register::do_try_request(r_l
);
41 IMPLEMENT_STATIC_NAME(Voice_group_registers
);
42 IMPLEMENT_IS_TYPE_B1(Voice_group_registers
,Register_group_register
);
45 Voice_group_registers::do_print() const
48 Register_group_register::do_print();
55 Voice_group_registers::get_feature(String f
)
59 Register_group_register::get_feature(f
);
62 ADD_THIS_REGISTER(Voice_group_registers
);