X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspaceable-element.hh;h=272365ecd4c90b5bcdd6e0554b84a04baabe1e1d;hb=refs%2Ftags%2Frelease%2F1.5.45;hp=577f8902e1f842329d02305697aa15f88abb59f7;hpb=7249d131a7b58117ad502f17975af50ea4144a05;p=lilypond.git diff --git a/lily/include/spaceable-element.hh b/lily/include/spaceable-element.hh index 577f8902e1..272365ecd4 100644 --- a/lily/include/spaceable-element.hh +++ b/lily/include/spaceable-element.hh @@ -1,37 +1,3 @@ -/* - spaceable-element.hh -- declare Spaceable_element - - source file of the GNU LilyPond music typesetter - - (c) 2000 Han-Wen Nienhuys - - */ -#ifndef SPACEABLE_ELEMENT_HH -#define SPACEABLE_ELEMENT_HH - -#include "lily-guile.hh" -#include "lily-proto.hh" - -/* - properties : - - minimum-distances -- list of rods (ie. (OBJ . DIST) pairs) - - ideal-distances -- (OBJ . (DIST . STRENGTH)) pairs - - dir-list -- list of stem directions. - */ -struct Spaceable_element -{ - /// set a minimum distance - static void add_rod (Score_element*me, Score_element * to, Real distance); - static void add_spring (Score_element*me,Score_element * to, Real dist, Real strength); - static void set_interface (Score_element*); - static void remove_interface (Score_element*); - static SCM get_minimum_distances (Score_element*); - static SCM get_ideal_distances (Score_element*); -}; - -#endif /* SPACEABLE_ELEMENT_HH */ +#error