X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fsemi-tie.hh;h=2be7d15e56f20c54eb6181627f74aa8f53eed4a9;hb=d153a8ddf07a0a80b337219b3ae5f8bfa8c4eada;hp=d0a0baf5b705c6605eaab7ddb07a35b8c45b2722;hpb=99242a027c2281ed7674772e9a0ae7fc86024be0;p=lilypond.git diff --git a/lily/include/semi-tie.hh b/lily/include/semi-tie.hh index d0a0baf5b7..2be7d15e56 100644 --- a/lily/include/semi-tie.hh +++ b/lily/include/semi-tie.hh @@ -1,27 +1,36 @@ /* - semi-tie.hh -- declare Laissez_vibrer_tie + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2014 Han-Wen Nienhuys - (c) 2005--2006 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 SEMI_TIE_HH #define SEMI_TIE_HH - #include "grob-interface.hh" -#include "lily-guile.hh" +#include "lily-proto.hh" struct Semi_tie { - static bool has_interface (Grob *); - + DECLARE_GROB_INTERFACE (); + DECLARE_SCHEME_CALLBACK (calc_direction, (SCM)); DECLARE_SCHEME_CALLBACK (calc_control_points, (SCM)); - static int compare (Grob *const &s1, - Grob *const &s2); + static bool less (Grob *const &s1, + Grob *const &s2); static int get_position (Grob *); };