X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpercent-repeat-item.hh;h=448b8110346dfe262b54494c72e9a284205402e6;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=f810b48677bc0cf8cbb4ea7cd0e92a4a3a4665a9;hpb=402045837e7134cdf90d1fcf31768c62227a4936;p=lilypond.git diff --git a/lily/include/percent-repeat-item.hh b/lily/include/percent-repeat-item.hh index f810b48677..448b811034 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--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 Stencil x_percent (Grob*,int,Real,Real ); - static Stencil 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 */