lilypond-0.1.59
[lilypond.git] / hdr / voice-element.hh
blob0c5b6b132882dcae69db69c2de8acb0c02bddaee
1 /*
2 voice-element.hh -- declare Voice_element
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef VOICE_ELEMENT_HH
11 #define VOICE_ELEMENT_HH
13 #include "proto.hh"
14 #include "plist.hh"
15 #include "moment.hh"
17 /** one horizontal bit. Voice_element is nothing but a container for
18 *the requests, */
19 struct Voice_element {
20 Moment duration;
21 char const* defined_ch_c_l_;
22 const Voice *voice_l_;
23 IPointerList<Request*> reqs;
25 /* *************** */
27 Voice_element();
28 Voice_element(Voice_element const & src );
30 void add(Request*);
31 bool find_plet_start_bo(char c, Moment& moment_r);
32 void print ()const;
33 void set_default_group(String id);
34 void set_plet_backwards(Moment& now_moment_r, Moment until_moment, int num_i, int den_i);
37 #endif // VOICE-ELEMENT_HH