X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fsystem-start-delimiter.hh;h=3e1848c530b7561244b3aebc5180369fbddf9373;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=5b15f9b264b1ea2f60bfc4d7f92aac41b74680ec;hpb=94189ec2b8da6d7e89dc619c646a927adead9b19;p=lilypond.git diff --git a/lily/include/system-start-delimiter.hh b/lily/include/system-start-delimiter.hh index 5b15f9b264..3e1848c530 100644 --- a/lily/include/system-start-delimiter.hh +++ b/lily/include/system-start-delimiter.hh @@ -1,33 +1,44 @@ -/* - System-start-delimiter.hh -- declare System_start_delimiter - - source file of the GNU LilyPond music typesetter - - (c) 2000--2001 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + 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 SYSTEM_START_DELIMITER_HH #define SYSTEM_START_DELIMITER_HH -#include "lily-guile.hh" #include "lily-proto.hh" +#include "grob-interface.hh" /* - Braces/brackets across staffs. - */ + Braces/brackets across staves. +*/ class System_start_delimiter { public: - DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM )); - - static void set_interface (Grob*me); - static bool has_interface (Grob*); - DECLARE_SCHEME_CALLBACK(after_line_breaking, (SCM )); - static void try_collapse (Grob*); - static Molecule staff_bracket (Grob*,Real) ; - static Molecule staff_brace (Grob*,Real) ; - static Molecule simple_bar (Grob*,Real) ; + DECLARE_SCHEME_CALLBACK (print, (SCM)); + + DECLARE_GROB_INTERFACE (); + static void try_collapse (Grob *); + static Stencil staff_bracket (Grob *, Real); + static Stencil old_staff_bracket (Grob *, Real); + static Stencil staff_brace (Grob *, Real); + static Stencil simple_bar (Grob *, Real); + static Stencil line_bracket (Grob *, Real); + }; #endif /* SYSTEM_START_DELIMITER_HH */