2 voiceregs.cc -- implement Voice_registers
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
9 #include "musicalrequest.hh"
10 #include "voiceregs.hh"
11 #include "register.hh"
15 Voice_registers::Voice_registers(Complex_walker
*c_l
, Voice
*v_p
)
18 add(new Notehead_register(c_l
));
19 add(new Slur_register(c_l
));
23 Voice_registers::acknowledge_element(Staff_elem_info i
)
25 if (i
.voice_l_
!= voice_l_
)
27 Register_group::acknowledge_element(i
);
31 Voice_registers::acceptable_request_b(Request
*r
)
33 return (r
->rest() || r
->note() || r
->slur());