X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Farpeggio-engraver.cc;h=62be51d90b326c65e085d694bdd881075fe0f4f2;hb=1dbfe58548c0dbea3a09c94eb03113aaaaa73c75;hp=0528f71d9f576b644c3cd730c17e26b6903e5fee;hpb=a276a19dc6bd57832db3107f2f2cbb04cb4677b6;p=lilypond.git diff --git a/lily/arpeggio-engraver.cc b/lily/arpeggio-engraver.cc index 0528f71d9f..62be51d90b 100644 --- a/lily/arpeggio-engraver.cc +++ b/lily/arpeggio-engraver.cc @@ -1,9 +1,20 @@ /* - arpeggio-engraver.cc -- implement Arpeggio_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2000--2011 Jan Nieuwenhuizen - (c) 2000--2007 Jan Nieuwenhuizen + 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 "engraver.hh" @@ -26,7 +37,6 @@ public: void acknowledge_stem (Grob_info); void acknowledge_rhythmic_head (Grob_info); - void acknowledge_note_column (Grob_info); protected: void process_music (); void stop_translation_timestep (); @@ -73,13 +83,6 @@ Arpeggio_engraver::acknowledge_rhythmic_head (Grob_info info) Side_position_interface::add_support (arpeggio_, info.grob ()); } -void -Arpeggio_engraver::acknowledge_note_column (Grob_info info) -{ - if (arpeggio_) - info.grob ()->set_object ("arpeggio", arpeggio_->self_scm ()); -} - void Arpeggio_engraver::process_music () { @@ -98,10 +101,17 @@ Arpeggio_engraver::stop_translation_timestep () ADD_ACKNOWLEDGER (Arpeggio_engraver, stem); ADD_ACKNOWLEDGER (Arpeggio_engraver, rhythmic_head); -ADD_ACKNOWLEDGER (Arpeggio_engraver, note_column); ADD_TRANSLATOR (Arpeggio_engraver, - /* doc */ "Generate an Arpeggio symbol", - /* create */ "Arpeggio", - /* read */ "", - /* write */ ""); + /* doc */ + "Generate an Arpeggio symbol.", + + /* create */ + "Arpeggio", + + /* read */ + "", + + /* write */ + "" + );