X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fhara-kiri-engraver.cc;h=243d9cbaf54e29e6ebb3ccf766778b00af1ae187;hb=c597a126f11943be74a98efee056ab54ae729315;hp=d1bff27ae520863f24b4950d8ab4c5c15ccbbd13;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/lily/hara-kiri-engraver.cc b/lily/hara-kiri-engraver.cc index d1bff27ae5..243d9cbaf5 100644 --- a/lily/hara-kiri-engraver.cc +++ b/lily/hara-kiri-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2005--2009 Han-Wen Nienhuys + Copyright (C) 2005--2012 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 @@ -25,7 +25,7 @@ #include "translator.icc" /* - TODO: fold together with axis_group_engraver? + TODO: fold together with axis_group_engraver? */ class Hara_kiri_engraver : public Axis_group_engraver @@ -41,7 +41,6 @@ public: TRANSLATOR_DECLARATIONS (Hara_kiri_engraver); }; - Hara_kiri_engraver::Hara_kiri_engraver () { interesting_ = SCM_EOL; @@ -80,28 +79,27 @@ Hara_kiri_engraver::acknowledge_grob (Grob_info i) if (staffline_) { for (SCM s = interesting_; scm_is_pair (s); s = scm_cdr (s)) - { - if (i.grob ()->internal_has_interface (scm_car (s))) - Hara_kiri_group_spanner::add_interesting_item (staffline_, i.grob ()); - } + { + if (i.grob ()->internal_has_interface (scm_car (s))) + Hara_kiri_group_spanner::add_interesting_item (staffline_, i.grob ()); + } } } - ADD_ACKNOWLEDGER (Hara_kiri_engraver, grob); ADD_TRANSLATOR (Hara_kiri_engraver, - /* doc */ - "Like @code{Axis_group_engraver}, but make a hara-kiri" - " spanner, and add interesting items (i.e., note heads, lyric" - " syllables, and normal rests).", + /* doc */ + "Like @code{Axis_group_engraver}, but make a hara-kiri" + " spanner, and add interesting items (i.e., note heads, lyric" + " syllables, and normal rests).", - /* create */ - "VerticalAxisGroup ", + /* create */ + "VerticalAxisGroup ", - /* read */ - "keepAliveInterfaces ", + /* read */ + "keepAliveInterfaces ", - /* write */ - "" - ); + /* write */ + "" + );