]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/script.hh
* make/lilypond-vars.make (PYTHONPATH): Add python's outdir to
[lilypond.git] / lily / include / script.hh
index b9c0be1238116e6f3d7835429fe49dfa3a868133..8773172d8254fae938267f82853a71bec168b03f 100644 (file)
@@ -3,30 +3,29 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2002 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_interface
 {
-  Molecule get_molecule (Direction d) const;
 public:
+  static Molecule get_molecule (Grob*,Direction d);
   
-protected:
-  virtual void do_pre_processing ();
-  virtual void do_post_processing ();
-  Molecule do_brew_molecule () const;
+  static bool  has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
+  DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM ));
 };
 
 #endif /* Stem_SCRIPT_HH */