X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ffont-interface.hh;h=96b6b0b8d942284495bc617c69d5d4e3571b4e16;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=176e4c32104b1a571de4fd5cc49ef665745987b9;hpb=bfb10684605084baf1a898be8f42c0e463c5764a;p=lilypond.git diff --git a/lily/include/font-interface.hh b/lily/include/font-interface.hh index 176e4c3210..96b6b0b8d9 100644 --- a/lily/include/font-interface.hh +++ b/lily/include/font-interface.hh @@ -1,27 +1,34 @@ -/* - font-interface.hh -- declare Font_interface - - source file of the GNU LilyPond music typesetter - - (c) 2000--2002 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2000--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 FONT_INTERFACE_HH #define FONT_INTERFACE_HH -#include "lily-proto.hh" #include "font-metric.hh" +#include "grob-interface.hh" struct Font_interface { - static SCM font_alist_chain (Grob*); - static Font_metric * get_font (Grob*, SCM alist_chain); - static Font_metric * get_default_font (Grob*); - static SCM add_style (Grob*, SCM style, SCM alist_chain); - static bool wild_compare (SCM field_val, SCM val); - DECLARE_SCHEME_CALLBACK (properties_to_font_name, (SCM,SCM)); - static bool has_interface (Grob*); + static SCM text_font_alist_chain (Grob *); + static SCM music_font_alist_chain (Grob *); + static Font_metric *get_default_font (Grob *); + DECLARE_GROB_INTERFACE (); }; #endif /* FONT_INTERFACE_HH */