X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fligature-engraver.hh;h=afb349980f266ccc8e21a31187147024f9990281;hb=9f2135fa9453892d7ddd3bb9c57f83f9a4e95f11;hp=c70523ae915103069fd52c8ca10e2c8d7cee1c03;hpb=31568c504806f35aac420a394c9eab07abd9faa7;p=lilypond.git diff --git a/lily/include/ligature-engraver.hh b/lily/include/ligature-engraver.hh index c70523ae91..afb349980f 100644 --- a/lily/include/ligature-engraver.hh +++ b/lily/include/ligature-engraver.hh @@ -1,9 +1,20 @@ /* - ligature-engraver.hh -- declare Ligature_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2002--2012 Juergen Reuter - (c) 2002--2006 Juergen Reuter + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef LIGATURE_ENGRAVER_HH @@ -20,12 +31,12 @@ protected: virtual void finalize (); DECLARE_ACKNOWLEDGER (rest); - DECLARE_ACKNOWLEDGER (note_head); - virtual bool try_music (Music *); + DECLARE_ACKNOWLEDGER (ligature_head); + virtual void listen_ligature (Stream_event *ev); void process_music (); virtual Spanner *create_ligature_spanner () = 0; virtual void typeset_ligature (Spanner *ligature, - vector primitives) = 0; + vector primitives) = 0; virtual Spanner *current_ligature (); SCM brew_ligature_primitive_proc; @@ -34,7 +45,7 @@ public: // class is abstract private: - Drul_array events_drul_; + Drul_array events_drul_; Spanner *ligature_; vector primitives_; @@ -42,7 +53,7 @@ private: Spanner *finished_ligature_; vector finished_primitives_; - Music *prev_start_event_; + Stream_event *prev_start_event_; // moment where ligature started. Moment ligature_start_mom_;