lilypond-0.0.50
[lilypond.git] / lily / staff-elem-info.cc
blobc0465584928437002d577e9ee2f01a4c6a1b682c
1 /*
2 staff-elem-info.cc -- implement Staff_elem_info
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "staff-elem-info.hh"
10 #include "request.hh"
12 Staff_elem_info::Staff_elem_info(Staff_elem*s_l, Request*r_l)
14 elem_l_ = s_l;
15 voice_l_ = (r_l)?r_l->voice_l():0;
16 req_l_ = r_l;
19 Staff_elem_info::Staff_elem_info()
21 elem_l_ = 0;
22 voice_l_ = 0;
24 req_l_ = 0;
27 Features::Features()
29 direction_i_ = 0;
30 initialiser_b_ = false;
33 Features
34 Features::dir(int d) return f;
36 f.initialiser_b_ = true;
37 f.direction_i_ = d;