X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpaper-column-engraver.hh;h=a176fc48ebf6a667d894eb352f2e9e62851c52b6;hb=f02831f92e71ce43e3b67e06c0d46dc19ad9bde3;hp=d0b2a97bf1f998414dd067d69f7599f3230e1a23;hpb=0e5d83a9ceb4a143f83d22406d7eb816314ff9f7;p=lilypond.git diff --git a/lily/include/paper-column-engraver.hh b/lily/include/paper-column-engraver.hh index d0b2a97bf1..a176fc48eb 100644 --- a/lily/include/paper-column-engraver.hh +++ b/lily/include/paper-column-engraver.hh @@ -1,9 +1,20 @@ /* - paper-column-engraver.hh -- declare Paper_column_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2015 Han-Wen Nienhuys - (c) 2005--2009 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 . */ #ifndef PAPER_COLUMN_ENGRAVER_HH @@ -27,24 +38,26 @@ protected: void stop_translation_timestep (); void start_translation_timestep (); void process_music (); + void handle_manual_breaks (bool); virtual void initialize (); virtual void finalize (); - DECLARE_TRANSLATOR_LISTENER (break); - DECLARE_TRANSLATOR_LISTENER (label); + void listen_break (Stream_event *); + void listen_label (Stream_event *); - DECLARE_ACKNOWLEDGER (item); - DECLARE_ACKNOWLEDGER (note_spacing); - DECLARE_ACKNOWLEDGER (staff_spacing); + void acknowledge_item (Grob_info); + void acknowledge_note_spacing (Grob_info); + void acknowledge_staff_spacing (Grob_info); System *system_; - vector break_events_; - vector label_events_; - int breaks_; // used for stat printing + vector break_events_; + vector label_events_; + int breaks_; // used for stat printing Paper_column *command_column_; Paper_column *musical_column_; - vector items_; + vector items_; bool first_; + bool made_columns_; Moment last_moment_; public: