]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/music-list.hh
6abf926c4da30080348a8e10d9a12373fec09590
[lilypond.git] / lily / include / music-list.hh
1 /*
2   music-list.hh -- declare Music_sequence,
3   Simultaneous_music and Sequential_music
4
5   source file of the GNU LilyPond music typesetter
6
7   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
9
10
11 #ifndef Music_sequence_HH
12 #define Music_sequence_HH
13
14 #include "music-sequence.hh"
15
16 /**
17   Simultaneous_music is a list of music-elements which happen simultaneously
18  */
19 class Simultaneous_music : public Music_sequence
20 {
21 public:
22   VIRTUAL_COPY_CONS(Music);
23   Simultaneous_music(SCM);
24   virtual Musical_pitch to_relative_octave (Musical_pitch);
25   virtual Moment length_mom () const;
26 };
27
28 /**
29   The request is a collection of Requests. A note that you enter in mudela is 
30   one Request_chord, one syllable of lyrics is one Request_chord
31  */
32 class Request_chord : public Simultaneous_music
33 {
34 public:
35   VIRTUAL_COPY_CONS(Music);
36   virtual Musical_pitch to_relative_octave (Musical_pitch);
37   Request_chord(SCM list);
38 };
39
40 /**
41   Sequential_music is a list of music-elements which are placed behind each other.
42  */
43 class Sequential_music : public Music_sequence
44 {
45 public:
46   VIRTUAL_COPY_CONS(Music);
47   Sequential_music(SCM);
48   virtual Moment length_mom () const;
49 };
50
51 #endif // Music_sequence_HH