]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script.hh
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[lilypond.git] / lily / include / script.hh
1 /*   
2   script.hh -- declare Script
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
10 #ifndef SCRIPT_HH
11 #define SCRIPT_HH
12
13 #include "lily-guile.hh"
14 #include "lily-proto.hh"
15
16 /**
17    Articulation marks (and the like) that are attached to notes/stems.
18    Needs support from Staff_side for proper operation.  Staff_side
19    handles the positioning.
20 */
21 class Script_interface
22 {
23 public:
24   static Stencil get_stencil (Grob*,Direction d);
25   
26   static bool  has_interface (Grob*);
27   DECLARE_SCHEME_CALLBACK (print, (SCM ));
28   DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM ));
29 };
30
31 void make_script_from_event (Grob *p,
32                              SCM * descr, Translator_group*tg,
33                              SCM type, 
34                              int index);
35 #endif /* Stem_SCRIPT_HH */
36