]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/script.hh
release: 1.3.142
[lilypond.git] / lily / include / script.hh
index 0204e811120f6318855f94d5e8eec0c385ba7476..e1e46d5c213dbd9a750af1cb70ddcc05fb06f00d 100644 (file)
@@ -3,33 +3,29 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #ifndef SCRIPT_HH
 #define SCRIPT_HH
 
-#include "item.hh"
-#include "drul-array.hh"
+#include "lily-guile.hh"
+#include "lily-proto.hh"
 
 /**
    Articulation marks (and the like) that are attached to notes/stems.
    Needs support from Staff_side for proper operation.  Staff_side
    handles the positioning.
 */
-class Script : public Item
+class Script
 {
-  Molecule get_molecule (Direction d) const;
 public:
-  Script (SCM);
-   static SCM scheme_molecule (SCM);
-  
-
-protected:
-  virtual void before_line_breaking ();
-  virtual void after_line_breaking ();
-  Molecule do_brew_molecule () const;
+  static Molecule get_molecule (Grob*,Direction d);
+  static void set_interface (Grob*);
+  static bool  has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
+  DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM ));
 };
 
 #endif /* Stem_SCRIPT_HH */