]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/page-marker.hh
Run `make grand-replace'.
[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--2008 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   SCM label_; /* bookmarking label (a symbol) */
21
22 public:
23   Page_marker ();
24   
25   void set_permission (SCM symbol, SCM permission);
26   void set_label (SCM label);
27
28   SCM permission_symbol ();
29   SCM permission_value ();
30   SCM label ();
31 };
32
33 DECLARE_UNSMOB (Page_marker, page_marker)
34
35 #endif /* PAGE_MARKER_HH */