X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fpercent-repeat-item.hh;h=1c8e0f44b08c6b6e6b59bc70e0765668cdae2413;hb=23ec49df6ea90e610158a4fe1c35d1adea0c0450;hp=4983a20728e6bc40a3ad7a583ac7480ace13a7f5;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/include/percent-repeat-item.hh b/lily/include/percent-repeat-item.hh index 4983a20728..1c8e0f44b0 100644 --- a/lily/include/percent-repeat-item.hh +++ b/lily/include/percent-repeat-item.hh @@ -1,24 +1,36 @@ /* - percent-repeat-item.hh -- declare Percent_repeat_item_interface + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2001--2012 Han-Wen Nienhuys - (c) 2001--2005 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 PERCENT_REPEAT_ITEM_HH #define PERCENT_REPEAT_ITEM_HH -#include "grob.hh" +#include "grob-interface.hh" +#include "lily-proto.hh" class Percent_repeat_item_interface { public: - static bool has_interface (Grob *); + DECLARE_GROB_INTERFACE (); DECLARE_SCHEME_CALLBACK (beat_slash, (SCM)); DECLARE_SCHEME_CALLBACK (double_percent, (SCM)); - static Stencil x_percent (Grob *, int, Real, Real); - static Stencil brew_slash (Grob *); + static Stencil x_percent (Grob *, int); + static Stencil brew_slash (Grob *, int); }; #endif /* PERCENT_REPEAT_ITEM_HH */