X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fgrob.hh;h=4748b17273887381146a5be4ee43f6eeb1ff55a9;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=83ec5f73edf25cfa79ca5316290745bd4437f37f;hpb=c39d188d28fdc84cef8cbaea7b8d6e2fb718c30f;p=lilypond.git diff --git a/lily/include/grob.hh b/lily/include/grob.hh index 83ec5f73ed..4748b17273 100644 --- a/lily/include/grob.hh +++ b/lily/include/grob.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1996--2014 Han-Wen Nienhuys + Copyright (C) 1996--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 @@ -27,10 +27,14 @@ #include -class Grob +class Grob : public Smob { +public: + int print_smob (SCM, scm_print_state *); + SCM mark_smob (); + static const char type_p_name_[]; + virtual ~Grob (); private: - DECLARE_SMOBS (Grob); DECLARE_CLASSNAME (Grob); void init (); @@ -171,11 +175,6 @@ public: static SCM internal_skylines_from_element_stencils (SCM, Axis); }; -/* smob utilities */ -DECLARE_UNSMOB (Grob, grob); -Spanner *unsmob_spanner (SCM); -Item *unsmob_item (SCM); - /* unification */ void uniquify (vector &);