X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fgrob.hh;h=4748b17273887381146a5be4ee43f6eeb1ff55a9;hb=d2762a4f1add2bb04d6fc34d3c7ae03eeb7d500f;hp=bac9538a8530d0f26384afb5b3c239529f9d9dd3;hpb=9066eeede909ace56324c905217c5b585ba42f90;p=lilypond.git diff --git a/lily/include/grob.hh b/lily/include/grob.hh index bac9538a85..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,10 +175,6 @@ public: static SCM internal_skylines_from_element_stencils (SCM, Axis); }; -/* smob utilities */ -Spanner *Spanner::unsmob (SCM); -Item *Item::unsmob (SCM); - /* unification */ void uniquify (vector &);