X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fprob.hh;h=9f6ad9609a080e5c7567944c39607781edcb88a7;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=58d93cae231c851ead2803c1116b71d1541a5dcc;hpb=08560a1b8076630c4fc6cb9b902614d8b74fd6fc;p=lilypond.git diff --git a/lily/include/prob.hh b/lily/include/prob.hh index 58d93cae23..9f6ad9609a 100644 --- a/lily/include/prob.hh +++ b/lily/include/prob.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2004--2012 Jan Nieuwenhuizen + Copyright (C) 2004--2015 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 @@ -31,9 +31,15 @@ Property_object. Page-breaking handles Property_object objects. */ -class Prob +class Prob : public Smob { - DECLARE_SMOBS (Prob); +public: + int print_smob (SCM, scm_print_state *); + SCM mark_smob (); + static SCM equal_p (SCM, SCM); + static const char type_p_name_[]; + virtual ~Prob (); +private: DECLARE_CLASSNAME (Prob); void init_vars (); @@ -57,7 +63,6 @@ public: void internal_set_property (SCM sym, SCM val); }; -DECLARE_UNSMOB (Prob, prob); SCM ly_prob_set_property_x (SCM system, SCM sym, SCM value); SCM ly_prob_property (SCM prob, SCM sym, SCM val);