]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/music-sequence.hh
patch::: 1.3.136.jcn3
[lilypond.git] / lily / include / music-sequence.hh
1
2
3 /*   
4   music-sequence.hh -- declare 
5   
6   source file of the GNU LilyPond music typesetter
7   
8   (c) 2000--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9   
10  */
11
12 #ifndef MUSIC_SEQUENCE_HH
13 #define MUSIC_SEQUENCE_HH
14 #include "music.hh"
15 /**
16   Music can be a list of other "Music" elements
17  */
18 class Music_sequence : public Music
19 {
20 public:
21   Music_sequence (SCM h);
22   Music_sequence ();
23   SCM music_list () const;
24   void append_music (Music *);
25   VIRTUAL_COPY_CONS (Music);
26   
27   Pitch do_relative_octave (Pitch p, bool b);
28   virtual void transpose (Pitch );
29   void truncate (int k);
30   virtual void compress (Moment);
31   int length_i () const;
32   Moment cumulative_length () const;
33   Moment maximum_length () const;
34   
35 protected:
36   virtual Pitch to_relative_octave (Pitch);
37
38
39 };
40 #endif