X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fpercent-repeat-item.hh;h=a9e59e35f512f1fc711d27993f71dc5c33cffab5;hb=ec96fa3e252e98f3f540e9a0076510486c3a06d7;hp=1a7a499d6569202f3aca89cb1c0f9c341a25245d;hpb=bfb10684605084baf1a898be8f42c0e463c5764a;p=lilypond.git diff --git a/lily/include/percent-repeat-item.hh b/lily/include/percent-repeat-item.hh index 1a7a499d65..a9e59e35f5 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 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2001--2011 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 *, int); }; #endif /* PERCENT_REPEAT_ITEM_HH */