]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/page-marker.hh
a925a6c9ce87c6d8da562f04c1104195d9a652ad
[lilypond.git] / lily / include / page-marker.hh
1 /*
2   page-marker.hh -- declare Page_marker
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2007 Nicolas Sceaux <nicolas.sceaux@free.fr>
7 */
8
9 #ifndef PAGE_MARKER_HH
10 #define PAGE_MARKER_HH
11
12 #include "smobs.hh"
13
14 class Page_marker
15 {
16   DECLARE_SMOBS (Page_marker);
17
18   SCM symbol_; /* either 'page-turn-permission or 'page-break-permission */
19   SCM permission_;  /* 'force, 'allow, or '() */
20
21 public:
22   Page_marker (SCM symbol, SCM permission);
23   
24   SCM permission_symbol ();
25   SCM permission_value ();
26 };
27
28 DECLARE_UNSMOB (Page_marker, page_marker)
29
30 #endif /* PAGE_MARKER_HH */