]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script-interface.hh
* lily/new-slur.cc: Resolve conflicts.
[lilypond.git] / lily / include / script-interface.hh
1 /*   
2   script-interface.hh -- 
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef SCRIPT_INTERFACE_HH
10 #define SCRIPT_INTERFACE_HH
11
12 #include "lily-guile.hh"
13 #include "lily-proto.hh"
14
15 /**
16    Articulation marks (and the like) that are attached to notes/stems.
17    Needs support from Staff_side for proper operation.  Staff_side
18    handles the positioning.
19 */
20 class Script_interface
21 {
22 public:
23   static Stencil get_stencil (Grob *, Direction d);
24   static bool has_interface (Grob *);
25   DECLARE_SCHEME_CALLBACK (print, (SCM ));
26   DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM));
27 };
28
29 void make_script_from_event (Grob *p, SCM *descr, Context *tg,
30                              SCM type, int index);
31
32 #endif /* SCRIPT_INTERFACE_HH */
33