]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/script.hh
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[lilypond.git] / lily / include / script.hh
index df31d40d15e094b84bdc41535d92484f417ed0c1..4417e9f2335eef4e18c779c3a84409c7e77c0646 100644 (file)
@@ -3,30 +3,34 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2004 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
 {
 public:
-  static  Molecule get_molecule (Score_element*,Direction d);
-  Script (SCM);
-  static SCM brew_molecule (SCM);
-  SCM member_after_line_breaking ();
-  static SCM after_line_breaking (SCM);
+  static Stencil get_stencil (Grob*,Direction d);
+  
+  static bool  has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (print, (SCM ));
+  DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM ));
 };
 
+void make_script_from_event (Grob *p,
+                            SCM * descr, Translator_group*tg,
+                            SCM type, 
+                            int index);
 #endif /* Stem_SCRIPT_HH */