]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/break-align-item.hh
patch::: 1.3.122.jcn2
[lilypond.git] / lily / include / break-align-item.hh
index 916e284d5717421a36f14e7e15ba45dc3ed5f761..5ebbc384ff214aa811136f877a50b8349cad54fc 100644 (file)
@@ -3,23 +3,24 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef BREAK_ALIGN_ITEM_HH
 #define BREAK_ALIGN_ITEM_HH
 
-#include "horizontal-align-item.hh"
+#include "item.hh"
 
-/// align breakable items (clef, bar, etc.)
-class Break_align_item : public Horizontal_align_item {
-
-protected:
-    virtual void do_pre_processing();
+class Break_align_interface
+{
 public:
-    NAME_MEMBERS();
-    SCORE_ELEM_CLONE(Break_align_item)
-       
+  DECLARE_SCHEME_CALLBACK(before_line_breaking, (SCM ));
+  static void do_alignment (Grob*);
+  static void set_interface (Grob*);
+  static bool has_interface (Grob*);
+  static void add_element (Grob*me, Grob*add);
+  DECLARE_SCHEME_CALLBACK(alignment_callback, (SCM element, SCM axis));
+  DECLARE_SCHEME_CALLBACK(self_align_callback, (SCM element, SCM axis));
 };
 #endif // BREAK_ALIGN_ITEM_HH