X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fpercent-repeat-item.hh;h=85b1cdb446041243f4012983abcca6158c14c096;hb=cee6cea4ed55eb4fa1f9d83c997ebc19744a6e1a;hp=db9b4fabe79e530adbc87235ba7899fb7cbc4075;hpb=2745cbd907f8216a4cc1fc5f488ae19efdfdbd10;p=lilypond.git diff --git a/lily/include/percent-repeat-item.hh b/lily/include/percent-repeat-item.hh index db9b4fabe7..85b1cdb446 100644 --- a/lily/include/percent-repeat-item.hh +++ b/lily/include/percent-repeat-item.hh @@ -1,25 +1,35 @@ -/* - percent-repeat-item.hh -- declare Percent_repeat_item_interface - - source file of the GNU LilyPond music typesetter - - (c) 2001--2003 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2001--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 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_SCHEME_CALLBACK (beat_slash, (SCM )); - DECLARE_SCHEME_CALLBACK (double_percent, (SCM )); - static Molecule x_percent (Grob*,int,Real,Real ); - static Molecule brew_slash (Grob*); + DECLARE_SCHEME_CALLBACK (beat_slash, (SCM)); + DECLARE_SCHEME_CALLBACK (double_percent, (SCM)); + static Stencil x_percent (Grob *, int); + static Stencil brew_slash (Grob *, int); }; #endif /* PERCENT_REPEAT_ITEM_HH */