]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/repeated-music.hh
*** empty log message ***
[lilypond.git] / lily / include / repeated-music.hh
index 833609261c0eb56081b55ca21763ed7ee3975a30..e84b1d2fbc8e9f1be45439e644cc8b587d6bb52b 100644 (file)
@@ -3,12 +3,12 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
-#ifndef RepEATED_MUSIC_HH
-#define RepEATED_MUSIC_HH
+#ifndef REPEATED_MUSIC_HH
+#define REPEATED_MUSIC_HH
 
 #include "music.hh"
 
 class Repeated_music : public Music
 {
 public:
-  Music * body () const;
+  Repeated_music ();
+  Repeated_music (SCM);
+  VIRTUAL_COPY_CONSTRUCTOR (Music, Repeated_music);
+
+  Music *body () const;
   SCM alternatives () const;
 
-  /// how often do we repeat?
-  int repeat_count ( ) const;
+  /* How often do we repeat? */
+  int repeat_count () const;
   virtual Pitch to_relative_octave (Pitch);
 
-  Moment body_length_mom () const;
-  Moment alternatives_length_mom (bool fold) const;
-  Moment alternatives_volta_length_mom () const;  
+  Moment body_get_length () const;
+  Moment alternatives_get_length (bool fold) const;
+  Moment alternatives_volta_get_length () const;  
 
   DECLARE_SCHEME_CALLBACK (unfolded_music_length, (SCM));
   DECLARE_SCHEME_CALLBACK (volta_music_length, (SCM));
   DECLARE_SCHEME_CALLBACK (folded_music_length, (SCM));    
   DECLARE_SCHEME_CALLBACK (minimum_start, (SCM));
   DECLARE_SCHEME_CALLBACK (first_start, (SCM));    
-  
-  /// Transpose, with the interval central C to #p#
-  virtual void transpose (Pitch p);
-
-  /// Scale the music in time by #factor#.
-  virtual void compress (Moment factor);
-  VIRTUAL_COPY_CONS (Music);
-  Repeated_music ();
-  Repeated_music (SCM);
 };
 
 
-#endif /* RepEATED_MUSIC_HH */
+#endif /* REPEATED_MUSIC_HH */