]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/music-list.hh
* lily/include/translator.hh (ENTER_DESCRIPTION): add
[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--2002 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   virtual Pitch to_relative_octave (Pitch);
24   virtual Moment length_mom () const;
25   virtual Moment start_mom () const;
26   Simultaneous_music ();
27 };
28
29 /**
30   The request is a collection of Requests. A note that you enter in lilypond is 
31   one Request_chord, one syllable of lyrics is one Request_chord
32  */
33 class Request_chord : public Simultaneous_music
34 {
35 public:
36   VIRTUAL_COPY_CONS (Music);
37   virtual Pitch to_relative_octave (Pitch);
38   virtual Moment start_mom () const;
39
40   Request_chord ();
41 };
42
43 /**
44   Sequential_music is a list of music-elements which are placed behind each other.
45  */
46 class Sequential_music : public Music_sequence
47 {
48 public:
49   VIRTUAL_COPY_CONS (Music);
50   virtual Moment length_mom () const;
51   virtual Moment start_mom () const;
52   
53   Sequential_music ();
54 };
55
56 #endif // Music_sequence_HH