X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftie-column.hh;h=8ec9cad18b0230c2c1cfce2075655ea06df712ff;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=d4ff9f41e7d41986c7f8dc4a4edefe7011301944;hpb=c21d49df60cb97801ab33ab8a1bad6f2c81cd820;p=lilypond.git diff --git a/lily/include/tie-column.hh b/lily/include/tie-column.hh index d4ff9f41e7..8ec9cad18b 100644 --- a/lily/include/tie-column.hh +++ b/lily/include/tie-column.hh @@ -1,28 +1,37 @@ +/* + This file is part of LilyPond, the GNU music typesetter. -/* - tie-column.hh -- declare Tie_column - - source file of the GNU LilyPond music typesetter - - (c) 2000 Han-Wen Nienhuys - - */ + Copyright (C) 2000--2015 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 TIE_COLUMN_HH #define TIE_COLUMN_HH -#include "spanner.hh" +#include "grob-interface.hh" +#include "lily-proto.hh" -class Tie_column : public Spanner +class Tie_column { public: - VIRTUAL_COPY_CONS (Score_element); - void add_tie (Tie*); - Tie_column (SCM s); - - SCM member_after_line_breaking (); - static SCM after_line_breaking (SCM); - void set_directions (); + DECLARE_GROB_INTERFACE (); + static void add_tie (Grob *me, Grob *); + DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM)); + DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM)); + static void set_directions (Grob *me); + static void new_directions (Grob *me); }; #endif /* TIE_COLUMN_HH */