X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fgrob.hh;h=f5c6ac96e5467d338bfc6c393d12539c30791dbf;hb=6974acebcadc8f9f429adc66f8b2fea754e420ee;hp=a0902d6d8907a74542ee3260efea9b1003fd2246;hpb=00216e16c717470ae53dbbfd1d52850d1b102e29;p=lilypond.git diff --git a/lily/include/grob.hh b/lily/include/grob.hh index a0902d6d89..f5c6ac96e5 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--2012 Han-Wen Nienhuys + Copyright (C) 1996--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 @@ -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 &);