]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/repeated-music.hh
patch::: 1.1.6.jcn1: pats
[lilypond.git] / lily / include / repeated-music.hh
1 /*   
2   repeated-music.hh -- declare Repeated_music
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998 Jan Nieuwenhuizen <janneke@gnu.org>
7   
8  */
9
10 #ifndef REPEATED_MUSIC_HH
11 #define REPEATED_MUSIC_HH
12
13 #include "music-list.hh"
14
15 /**
16    Repeats and voltas
17  */
18 class Repeated_music : public Music
19 {
20 public:
21   int repeats_i_;
22   Music_wrapper* repeat_p_;
23   Sequential_music* alternative_p_;
24
25   Repeated_music (Music_wrapper *, int n, Sequential_music*);
26   Repeated_music (Repeated_music const& s);
27   virtual ~Repeated_music ();
28   
29   virtual void do_print () const;
30   virtual void transpose (Musical_pitch p);
31   virtual Moment duration () const;
32
33   VIRTUAL_COPY_CONS(Music);
34 };
35
36 #endif /* REPEATED_MUSIC_HH */
37