#define REST_COLLISION_HH
#include "lily-proto.hh"
-#include "item.hh"
+#include "lily-guile.hh"
-class Rest_collision : public Item {
+class Rest_collision // interface
+{
public:
- void add_column (Note_column*);
- Interval rest_dim () const;
-
- Rest_collision();
-protected:
- virtual void before_line_breaking ();
+ static void add_column (Score_element*me,Score_element*);
+ static void set_interface (Score_element*me);
+ static bool has_interface (Score_element*);
+ static Real force_shift_callback (Score_element *, Axis);
+ static SCM do_shift (Score_element*,SCM);
};
#endif // REST_COLLISION_HH