]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/rest.hh
96c2b44cc71a915d8c0eff57b6b6139e3621c4cf
[lilypond.git] / lily / include / rest.hh
1 /*
2   rest.hh -- declare Rest
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef REST_HH
10 #define REST_HH
11
12 #include "grob-interface.hh"
13
14 class Grob;
15
16 class Rest
17 {
18 public:
19   DECLARE_SCHEME_CALLBACK (y_offset_callback, (SCM));
20   DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM));
21   DECLARE_GROB_INTERFACE();
22   static string glyph_name (Grob *, int, string, bool);
23   static SCM brew_internal_stencil (Grob*, bool);
24   static SCM generic_extent_callback (Grob*, Axis);
25   DECLARE_SCHEME_CALLBACK (polyphonic_offset_callback, (SCM));
26   DECLARE_SCHEME_CALLBACK (print, (SCM));
27   DECLARE_SCHEME_CALLBACK (width, (SCM));
28   DECLARE_SCHEME_CALLBACK (height, (SCM));
29   DECLARE_SCHEME_CALLBACK (pure_height, (SCM, SCM, SCM));
30 };
31 #endif // REST_HH