]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-pitch-tuple.cc
* mf/feta-bolletjes.mf (overdone_heads): cleanup triangle
[lilypond.git] / lily / grob-pitch-tuple.cc
index 2bfc9942696a99a717b47168b578e1b817d981aa..883af20ca65a8fa3be4ab5fe1be863e238ecd105 100644 (file)
@@ -3,13 +3,13 @@ grob-pitch-tuple.cc --  implement Grob_pitch_tuple
 
 source file of the GNU LilyPond music typesetter
 
-(c) 2001--2002  Han-Wen Nienhuys <hanwen@cs.uu.nl>
+(c) 2001--2004  Han-Wen Nienhuys <hanwen@cs.uu.nl>
 
  */
+
 #include "grob-pitch-tuple.hh"
-#include "pitch.hh"
-#include "musical-request.hh"
 
+#include "event.hh"
 
 int compare (Grob_pitch_tuple const &a, Grob_pitch_tuple const &b)
 {
@@ -25,10 +25,10 @@ Grob_pitch_tuple::Grob_pitch_tuple ()
   end_ = 0;
 }
 
-Grob_pitch_tuple::Grob_pitch_tuple (Grob *h, Melodic_req*m, Moment mom)
+Grob_pitch_tuple::Grob_pitch_tuple (Grob *h, Music *m, Moment mom)
 {
   head_ = h;
-  pitch_ = *unsmob_pitch (m->get_mus_property ("pitch"));
+  pitch_ = *unsmob_pitch (m->get_property ("pitch"));
   end_ = mom;
 }
 
@@ -46,5 +46,5 @@ int
 Grob_pitch_tuple::time_compare (Grob_pitch_tuple const&h1,
                                   Grob_pitch_tuple const &h2)
 {
-  return Moment::compare(h1.end_,  h2.end_);
+  return Moment::compare (h1.end_,  h2.end_);
 }