]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-sequence.hh
* lily/translator.cc (derived_mark): new function.
[lilypond.git] / lily / include / music-sequence.hh
index f3d6ed9e9bfa0b29fed43811d84b3287411f21df..01753fd41ab6d7d1bfe4965647dabd8fbcad1708 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--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2000--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -19,22 +17,22 @@ class Music_sequence : public Music
 {
 public:
   Music_sequence (SCM h);
+  Music_sequence ();
+  VIRTUAL_COPY_CONSTRUCTOR (Music, Music_sequence);
 
   SCM music_list () const;
   void append_music (Music *);
-  VIRTUAL_COPY_CONS(Music);
-
+  
   Pitch do_relative_octave (Pitch p, bool b);
-  virtual void transpose (Pitch );
-  void truncate (int k);
-  virtual void compress (Moment);
-  int length_i () const;
-  Moment cumulative_length () const;
-  Moment maximum_length () const;
   
-protected:
-  virtual Pitch to_relative_octave (Pitch);
+  static Moment cumulative_length (SCM) ;
+  static Moment maximum_length (SCM) ;
+  static Moment first_start (SCM list) ;
+  static Moment minimum_start (SCM list);
+};
 
+Pitch music_list_to_relative (SCM l,Pitch p, bool ret_first);
+void transpose_music_list (SCM , Pitch);
+void compress_music_list (SCM, Moment);
 
-};
 #endif