]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grace-music.cc
* Documentation/user/refman.itely: remove superfluous -'s
[lilypond.git] / lily / grace-music.cc
index 3aea71c70682302bb863ae8d1916e38f7e22347d..76d17d9bceeaf162ad5c2386075cb8f3fe8ac1f3 100644 (file)
@@ -3,23 +3,19 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #include "grace-music.hh"
 #include "grace-iterator.hh"
 
-void
-Grace_music::compress (Moment m) 
-{
-  Music_wrapper::compress (m); 
-}
+
 
 Moment
-Grace_music::length_mom () const
+Grace_music::get_length () const
 {
-  Moment m ;
+  Moment m;
   return m;
 }
 
@@ -27,7 +23,7 @@ Grace_music::length_mom () const
 Moment
 Grace_music::start_mom () const
 {
-  Moment l = Music_wrapper::length_mom ();
+  Moment l = Music_wrapper::get_length ();
   Moment gl;
   gl.grace_part_ = -(l.main_part_ + l.grace_part_ );
   return gl;
@@ -36,14 +32,8 @@ Grace_music::start_mom () const
 Grace_music::Grace_music ()
 {
   set_mus_property ("iterator-ctor",
-                   Grace_iterator::constructor_cxx_function);
+                   Grace_iterator::constructor_proc);
 }
 
-Grace_music::Grace_music (SCM p)
-  : Music_wrapper (p)
-{
-  set_mus_property ("iterator-ctor",
-                   Grace_iterator::constructor_cxx_function);
-}
 
 ADD_MUSIC (Grace_music);