X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ffont-interface.hh;h=de502aa2eb1dedee7641e009528678ed66f8bd01;hb=38d7d319eabc906e82fb42002678c6d42a23b6f7;hp=ce14d49a480dfb192c9cd3d282d80704108561a8;hpb=2745cbd907f8216a4cc1fc5f488ae19efdfdbd10;p=lilypond.git diff --git a/lily/include/font-interface.hh b/lily/include/font-interface.hh index ce14d49a48..de502aa2eb 100644 --- a/lily/include/font-interface.hh +++ b/lily/include/font-interface.hh @@ -1,28 +1,23 @@ -/* +/* font-interface.hh -- declare Font_interface - + source file of the GNU LilyPond music typesetter - - (c) 2000--2003 Han-Wen Nienhuys - - */ + + (c) 2000--2009 Han-Wen Nienhuys +*/ #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)); - DECLARE_SCHEME_CALLBACK (get_property_alist_chain, (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 */