X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscore-element.hh;h=9bcbd2e33ca779dd7d6f072357873377379e2e14;hb=dd36ce6e97590323a7b6a61eb4a3f08d265c5b6e;hp=886659fe35e601a04e5bf59e8c096099ad381541;hpb=ad7defd5f5a3d0151a711555c2d680c56ef559c7;p=lilypond.git diff --git a/lily/include/score-element.hh b/lily/include/score-element.hh index 886659fe35..9bcbd2e33c 100644 --- a/lily/include/score-element.hh +++ b/lily/include/score-element.hh @@ -12,6 +12,8 @@ #include "lily-guile.hh" #include "lily-proto.hh" #include "smobs.hh" +#include "dimension-cache-callback.hh" + typedef void (Score_element::*Score_element_method_pointer) (void); @@ -150,8 +152,6 @@ protected: /// do calculations after determining horizontal spacing virtual void after_line_breaking (); - virtual Link_array get_extra_dependencies () const; - static Interval dim_cache_callback (Dimension_cache const*); public: static SCM ly_set_elt_property (SCM, SCM,SCM); @@ -194,6 +194,9 @@ public: Score_element*common_refpoint (Score_element const* s, Axis a) const; Score_element*common_refpoint (Link_array elems, Axis a) const; + + bool has_offset_callback_b (Offset_cache_callback, Axis)const; + void add_offset_callback (Offset_cache_callback, Axis); /** Set the parent refpoint of THIS to E */