X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrob-pitch-tuple.cc;h=c112c5ebcbd15181a784f7b950e257b2a805c2a3;hb=810defa88e1c382cf3bb1715a77b883d0b1c85a0;hp=fc6e450f990cb1de8322e996ee91f9f1abd2c010;hpb=0a8f98072c53d877cbb53dd490ba4394d03fa8d2;p=lilypond.git diff --git a/lily/grob-pitch-tuple.cc b/lily/grob-pitch-tuple.cc index fc6e450f99..c112c5ebcb 100644 --- a/lily/grob-pitch-tuple.cc +++ b/lily/grob-pitch-tuple.cc @@ -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 +(c) 2001--2004 Han-Wen Nienhuys */ + #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) { @@ -21,14 +21,14 @@ int compare (Grob_pitch_tuple const &a, Grob_pitch_tuple const &b) Grob_pitch_tuple::Grob_pitch_tuple () { - head_ =0; + head_ = 0; end_ = 0; } 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_); }