X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fstanza-number-align-engraver.cc;h=517bb8fe4691acd36fa20728aaa2c7af241f4739;hb=f127e14af04f474d20406ca0e0f76f05061ee103;hp=9aa4e623ae6286426c94b85e139f3238b9ac017c;hpb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;p=lilypond.git diff --git a/lily/stanza-number-align-engraver.cc b/lily/stanza-number-align-engraver.cc index 9aa4e623ae..517bb8fe46 100644 --- a/lily/stanza-number-align-engraver.cc +++ b/lily/stanza-number-align-engraver.cc @@ -1,9 +1,20 @@ /* - stanza-number-align-engraver.cc -- implement Stanza_number_align_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2004--2015 Han-Wen Nienhuys - (c) 2004--2008 Han-Wen Nienhuys + 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 . */ #include "context.hh" @@ -15,14 +26,16 @@ #include "translator.icc" +using std::vector; + class Stanza_number_align_engraver : public Engraver { public: TRANSLATOR_DECLARATIONS (Stanza_number_align_engraver); protected: - vector lyrics_; - vector stanza_numbers_; + vector lyrics_; + vector stanza_numbers_; DECLARE_ACKNOWLEDGER (lyric_syllable); DECLARE_ACKNOWLEDGER (stanza_number); @@ -62,16 +75,16 @@ ADD_ACKNOWLEDGER (Stanza_number_align_engraver, lyric_syllable); ADD_ACKNOWLEDGER (Stanza_number_align_engraver, stanza_number); ADD_TRANSLATOR (Stanza_number_align_engraver, - /* doc */ - "This engraver ensures that stanza numbers are neatly" - " aligned.", + /* doc */ + "This engraver ensures that stanza numbers are neatly" + " aligned.", - /* create */ - "", + /* create */ + "", - /* read */ - "", + /* read */ + "", - /* write */ - ""); + /* write */ + "");