X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ffont-interface.hh;h=7b68e0c9ff6b0b0ad793d58b1d185bca6eddde99;hb=9e781b7dc83b60a543ce218aa1a5f139f74c760f;hp=52189a10f40e4a7b22f4bd411158306c6abeea27;hpb=df4a7c4a55148e065d878dcc2f7e09ac27ea9c32;p=lilypond.git diff --git a/lily/include/font-interface.hh b/lily/include/font-interface.hh index 52189a10f4..7b68e0c9ff 100644 --- a/lily/include/font-interface.hh +++ b/lily/include/font-interface.hh @@ -1,25 +1,34 @@ -/* - font-interface.hh -- declare Font_interface - - source file of the GNU LilyPond music typesetter - - (c) 2000 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2000--2014 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); - DECLARE_SCHEME_CALLBACK(properties_to_font_name, (SCM,SCM)); + 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 */