X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fcustos.hh;h=3d998edd390ce7477637b7ec048b2d4ac3cc0cff;hb=b50658bea833eb7fd7650cbf5cd9a9bd0b6e1aca;hp=1844c752c1c1ea94aca9f1af8c85c5a8cdd8b10a;hpb=e24df7c27635dc996c466295eacf2981bddccaf7;p=lilypond.git diff --git a/lily/include/custos.hh b/lily/include/custos.hh index 1844c752c1..3d998edd39 100644 --- a/lily/include/custos.hh +++ b/lily/include/custos.hh @@ -1,28 +1,36 @@ /* - custos.hh + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2000--2012 Juergen Reuter - (c) 2000--2005 Juergen Reuter + 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 CUSTOS_HH #define CUSTOS_HH -#include "lily-guile.hh" - -class Grob; -class Stencil; +#include "lily-proto.hh" +#include "grob-interface.hh" struct Custos { - DECLARE_SCHEME_CALLBACK (print, (SCM )); - static bool has_interface (Grob*); + DECLARE_SCHEME_CALLBACK (print, (SCM)); + DECLARE_GROB_INTERFACE (); private: - static void add_streepjes (Grob* me, int pos, int interspaces, Stencil* custos_); - static Stencil create_ledger_line (Interval x_extent, Grob *me) ; - + static void add_streepjes (Grob *me, int pos, int interspaces, Stencil *custos_); + static Stencil create_ledger_line (Interval x_extent, Grob *me); }; #endif // CUSTOS_HH