]> git.donarmstrong.com Git - lilypond.git/blob - lily/staff-elem-info.cc
9a6283e373a34a982da3db9925e74ab3c6460a5b
[lilypond.git] / lily / staff-elem-info.cc
1 /*
2   staff-elem-info.cc -- implement Staff_elem_info
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9 #include "staff-elem-info.hh"
10 #include "request.hh"
11
12 Staff_elem_info::Staff_elem_info(Staff_elem*s_l, Request*r_l)
13 {
14     elem_p_ = s_l;
15     voice_l_ =  (r_l)?r_l->voice_l():0;
16     req_l_ = r_l;
17 }
18
19 Staff_elem_info::Staff_elem_info()
20 {
21     elem_p_ = 0;
22     voice_l_ = 0;
23
24     req_l_ = 0;
25 }
26
27 Features::Features()
28 {
29     direction_i_ = 0;
30     initialiser_b_ = false;
31 }
32
33 Features
34 Features::dir(int d) return f;
35 {
36     f.initialiser_b_ = true;
37     f.direction_i_ = d;
38 }