]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/system-start-delimiter.hh
2003 -> 2004
[lilypond.git] / lily / include / system-start-delimiter.hh
index d594c7ff876668de2f5f950e0340ce27b43d1fdd..f8a9df268ca30205b1171750c5415b29fba6192a 100644 (file)
@@ -3,29 +3,31 @@
      
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2000--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #ifndef SYSTEM_START_DELIMITER_HH
 #define SYSTEM_START_DELIMITER_HH
 
-#include "spanner.hh"
+#include "lily-guile.hh"
+#include "lily-proto.hh"
 
 /*
-  Braces/brackets across staffs.
+  Braces/brackets across staves.
  */
-class System_start_delimiter : public Spanner
+class System_start_delimiter
 {
 public:
-  System_start_delimiter ();
-  VIRTUAL_COPY_CONS (Score_element);
-protected:
-  virtual void after_line_breaking();
-  virtual  Molecule do_brew_molecule () const;
-  Molecule staff_bracket (Real) const;
-  Molecule staff_brace (Real) const;
-  Molecule simple_bar (Real) const;
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
+  
+  
+  static bool has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM ));
+  static void try_collapse (Grob*);
+  static Molecule staff_bracket (Grob*,Real) ;
+  static Molecule staff_brace (Grob*,Real) ;
+  static Molecule simple_bar (Grob*,Real) ;
 };
 
 #endif /* SYSTEM_START_DELIMITER_HH */