X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fsemi-tie.hh;h=a92b89fb4afd8898171bd62e3a13aa9face76355;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=d0a0baf5b705c6605eaab7ddb07a35b8c45b2722;hpb=9f3572d98bb948c9689cd1f75401a029451fa001;p=lilypond.git diff --git a/lily/include/semi-tie.hh b/lily/include/semi-tie.hh index d0a0baf5b7..a92b89fb4a 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--2012 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 *); };