X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fcoherent-ligature-engraver.hh;h=fb509dcb2260115ab74339f7174b85b7aca5fdd7;hb=55e87e06de25f758f6ae665995cb9438d103fe08;hp=bacf575e43b766442dd8656238f9413ae9a2919c;hpb=0e5d83a9ceb4a143f83d22406d7eb816314ff9f7;p=lilypond.git diff --git a/lily/include/coherent-ligature-engraver.hh b/lily/include/coherent-ligature-engraver.hh index bacf575e43..fb509dcb22 100644 --- a/lily/include/coherent-ligature-engraver.hh +++ b/lily/include/coherent-ligature-engraver.hh @@ -1,9 +1,20 @@ /* - coherent-ligature-engraver.hh -- declare Coherent_ligature_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2003--2015 Juergen Reuter - (c) 2003--2009 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 COHERENT_LIGATURE_ENGRAVER_HH #define COHERENT_LIGATURE_ENGRAVER_HH @@ -13,17 +24,22 @@ class Coherent_ligature_engraver : public Ligature_engraver { public: + Coherent_ligature_engraver(Context *c) + : Ligature_engraver (c) + {} // no TRANSLATOR_DECLARATIONS (Coherent_ligature_engraver) needed // since this class is abstract + TRANSLATOR_INHERIT (Ligature_engraver); + DECLARE_TRANSLATOR_CALLBACKS (Coherent_ligature_engraver); protected: virtual void build_ligature (Spanner *ligature, - vector primitives) = 0; + vector const &primitives) = 0; virtual void typeset_ligature (Spanner *ligature, - vector primitives); + vector const &primitives); virtual void move_related_items_to_column (Item *, Paper_column *, Real); private: - void collect_accidentals (Spanner *, vector); + void collect_accidentals (Spanner *, vector const &); }; #endif // COHERENT_LIGATURE_ENGRAVER_HH