X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpercent-repeat-item.hh;h=81a9b60832ff2a4eda56f5d3aa20582cd8f7a736;hb=3b63639611ca52cdc6f2b3b2893b1344e270334a;hp=2db9741ae2870afbc30de0031f056a6f0dc2a307;hpb=7e72a1e50e94a7f9738d62599de79fe7745f600c;p=lilypond.git diff --git a/lily/include/percent-repeat-item.hh b/lily/include/percent-repeat-item.hh index 2db9741ae2..81a9b60832 100644 --- a/lily/include/percent-repeat-item.hh +++ b/lily/include/percent-repeat-item.hh @@ -1,25 +1,36 @@ -/* - percent-repeat-item.hh -- declare Percent_repeat_item_interface - - source file of the GNU LilyPond music typesetter - - (c) 2001--2004 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2001--2010 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_GROB_INTERFACE(); + DECLARE_SCHEME_CALLBACK (beat_slash, (SCM)); + DECLARE_SCHEME_CALLBACK (double_percent, (SCM)); + static Stencil x_percent (Grob *, int); + static Stencil brew_slash (Grob *); }; #endif /* PERCENT_REPEAT_ITEM_HH */