]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/script-interface.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / script-interface.hh
index 4f2defdb23f406d2b50f207e8c86e3a3d1153334..2aab348af5d325b58b1f504df9cb45e05b4c30e6 100644 (file)
@@ -1,16 +1,16 @@
-/*   
-  script-interface.hh -- 
+/*
+  script-interface.hh --
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef SCRIPT_INTERFACE_HH
 #define SCRIPT_INTERFACE_HH
 
-#include "lily-guile.hh"
 #include "lily-proto.hh"
+#include "grob-interface.hh"
 
 /**
    Articulation marks (and the like) that are attached to notes/stems.
@@ -21,12 +21,14 @@ class Script_interface
 {
 public:
   static Stencil get_stencil (Grob *, Direction d);
-  static bool has_interface (Grob *);
-  DECLARE_SCHEME_CALLBACK (print, (SCM ));
-  DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM));
+  DECLARE_GROB_INTERFACE();
+  DECLARE_SCHEME_CALLBACK (print, (SCM));
+  DECLARE_SCHEME_CALLBACK (calc_direction, (SCM));
+  DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM));
+  DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM));
 };
 
-void make_script_from_event (Grob *p, bool *follow, Context *tg,
+void make_script_from_event (Grob *p,  Context *tg,
                             SCM type, int index);
 
 #endif /* SCRIPT_INTERFACE_HH */