X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftext-interface.hh;h=19c6e7c243333d8237c53b7f8cf196c37c7bd3fc;hb=4a401ca1c60f428daa242dbdd102fdb3f327ebfb;hp=6621a4dbb299d0252a1932df47634cf61d1fa004;hpb=3032301cc8609347d997cd4367aa7ab055196e80;p=lilypond.git diff --git a/lily/include/text-interface.hh b/lily/include/text-interface.hh index 6621a4dbb2..19c6e7c243 100644 --- a/lily/include/text-interface.hh +++ b/lily/include/text-interface.hh @@ -1,16 +1,28 @@ /* - text-interface.hh -- declare markup functions + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter - - (c) 1998--2005 Han-Wen Nienhuys + Copyright (C) 1998--2011 Han-Wen Nienhuys Jan Nieuwenhuizen + + 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 TEXT_ITEM #define TEXT_ITEM #include "stencil.hh" +#include "grob-interface.hh" class Text_interface { @@ -18,8 +30,9 @@ public: DECLARE_SCHEME_CALLBACK (print, (SCM)); DECLARE_SCHEME_CALLBACK (interpret_markup, (SCM, SCM, SCM)); DECLARE_SCHEME_CALLBACK (interpret_string, (SCM, SCM, SCM)); - static bool has_interface (Grob *); + DECLARE_GROB_INTERFACE (); static bool is_markup (SCM); + static bool is_markup_list (SCM); }; #endif /* TEXT_ITEM */