]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-symbol-referencer.cc
release: 1.5.47
[lilypond.git] / lily / staff-symbol-referencer.cc
index e63efa1b309298e08b67bafce0cd9cd3674ded59..7e1b0838834bd0cf95c5f71953442b43ea552a89 100644 (file)
@@ -160,9 +160,12 @@ compare_position (Grob *const  &a, Grob * const &b)
 }
 
 
-void
-Staff_symbol_referencer::set_interface (Grob * e)
-{
-  e->add_offset_callback (Staff_symbol_referencer::callback_proc, Y_AXIS);
-}
 
+
+
+ADD_INTERFACE (Staff_symbol_referencer,"staff-symbol-referencer-interface",
+  "Object whose Y position is meaning with reference to a staff
+symbol. Objects that have this interface should include
+Staff_symbol_referencer::callback in their Y-offset-callback.
+",
+  "staff-position");