]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stanza-number-align-engraver.cc
Doc: Included/compile.itexi - CG 4.2 - Updated notes on reqs for compiling
[lilypond.git] / lily / stanza-number-align-engraver.cc
index 9aa4e623ae6286426c94b85e139f3238b9ac017c..517bb8fe4691acd36fa20728aaa2c7af241f4739 100644 (file)
@@ -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 <hanwen@xs4all.nl>
 
-  (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  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 <http://www.gnu.org/licenses/>.
 */
 
 #include "context.hh"
 
 #include "translator.icc"
 
+using std::vector;
+
 class Stanza_number_align_engraver : public Engraver
 {
 public:
   TRANSLATOR_DECLARATIONS (Stanza_number_align_engraver);
 
 protected:
-  vector<Grob*> lyrics_;
-  vector<Grob*> stanza_numbers_;
+  vector<Grob *> lyrics_;
+  vector<Grob *> 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 */
+                "");