X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fcoherent-ligature-engraver.hh;h=cc3ed8d6951fa115b0fab960fab9583725fb81e3;hb=df4ec5f5b3c2befd7623d5826ed54b0a2490d3f5;hp=afa6f6bd1720c4d86d6fccd19c5f3514776c8325;hpb=d3b59ed445baf28ffd933df4620d5bc143f862ec;p=lilypond.git diff --git a/lily/include/coherent-ligature-engraver.hh b/lily/include/coherent-ligature-engraver.hh index afa6f6bd17..cc3ed8d695 100644 --- a/lily/include/coherent-ligature-engraver.hh +++ b/lily/include/coherent-ligature-engraver.hh @@ -1,11 +1,21 @@ -/* - coherent-ligature-engraver.hh -- declare Coherent_ligature_engraver - - source file of the GNU LilyPond music typesetter - - (c) 2003--2004 Juergen Reuter - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2003--2012 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 @@ -14,16 +24,17 @@ class Coherent_ligature_engraver : public Ligature_engraver { public: - TRANSLATOR_DECLARATIONS(Coherent_ligature_engraver); + // no TRANSLATOR_DECLARATIONS (Coherent_ligature_engraver) needed + // since this class is abstract protected: virtual void build_ligature (Spanner *ligature, - Array primitives); /* abstract */ + vector primitives) = 0; virtual void typeset_ligature (Spanner *ligature, - Array primitives); - virtual void get_set_column (Item *, Paper_column *); + vector primitives); + virtual void move_related_items_to_column (Item *, Paper_column *, Real); private: - void collect_accidentals (Spanner *, Array); + void collect_accidentals (Spanner *, vector); }; #endif // COHERENT_LIGATURE_ENGRAVER_HH