]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-sequence.hh
* Another grand 2003 update.
[lilypond.git] / lily / include / music-sequence.hh
index 6e88236e3375bf9e8cd34a2739ac4e02b1de1055..fd4e6225961a0f702436cd0eb1af788e0ac94bf6 100644 (file)
@@ -1,11 +1,9 @@
-
-
 /*   
-  music-sequence.hh -- declare 
+  music-sequence.hh -- declare Music_sequence
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  2000--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -19,22 +17,24 @@ class Music_sequence : public Music
 {
 public:
   Music_sequence (SCM h);
-
+  Music_sequence ();
   SCM music_list () const;
   void append_music (Music *);
-  VIRTUAL_COPY_CONS(Music);
-
-  Musical_pitch do_relative_octave (Musical_pitch p, bool b);
-  virtual void transpose (Musical_pitch );
-  void truncate (int k);
+  VIRTUAL_COPY_CONS (Music);
+  
+  Pitch do_relative_octave (Pitch p, bool b);
+  static void transpose_list (SCM , Pitch);
+  static void compress_list (SCM, Moment);
+  
+  virtual void transpose (Pitch );
   virtual void compress (Moment);
-  int length_i () const;
-  Moment cumulative_length () const;
-  Moment maximum_length () const;
+
+  static Moment cumulative_length (SCM) ;
+  static Moment maximum_length (SCM) ;
+  static Moment first_start (SCM list) ;
+  static Moment minimum_start (SCM list);
   
 protected:
-  virtual Musical_pitch to_relative_octave (Musical_pitch);
-
-
+  virtual Pitch to_relative_octave (Pitch);
 };
 #endif