LEFT | RIGHT |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 2007--2019 Nicolas Sceaux <nicolas.sceaux@free.fr> | 4 Copyright (C) 2007--2019 Nicolas Sceaux <nicolas.sceaux@free.fr> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 static const char * const type_p_name_; | 30 static const char * const type_p_name_; |
31 virtual ~Page_marker (); | 31 virtual ~Page_marker (); |
32 private: | 32 private: |
33 SCM symbol_; /* either 'page-turn-permission or 'page-break-permission */ | 33 SCM symbol_; /* either 'page-turn-permission or 'page-break-permission */ |
34 SCM permission_; /* 'force, 'allow, or '() */ | 34 SCM permission_; /* 'force, 'allow, or '() */ |
35 SCM label_; /* bookmarking label (a symbol) */ | 35 SCM label_; /* bookmarking label (a symbol) */ |
36 | 36 |
37 public: | 37 public: |
38 Page_marker (); | 38 Page_marker (); |
39 Page_marker (Page_marker const &); | 39 Page_marker (Page_marker const &); |
40 DECLARE_CLASSNAME (Page_marker); | 40 VIRTUAL_CLASS_NAME (Page_marker); |
41 virtual Page_marker *clone () const { return new Page_marker (*this); } | 41 virtual Page_marker *clone () const { return new Page_marker (*this); } |
42 | 42 |
43 void set_permission (SCM symbol, SCM permission); | 43 void set_permission (SCM symbol, SCM permission); |
44 void set_label (SCM label); | 44 void set_label (SCM label); |
45 | 45 |
46 SCM permission_symbol (); | 46 SCM permission_symbol (); |
47 SCM permission_value (); | 47 SCM permission_value (); |
48 SCM label (); | 48 SCM label (); |
49 }; | 49 }; |
50 | 50 |
51 | 51 |
52 #endif /* PAGE_MARKER_HH */ | 52 #endif /* PAGE_MARKER_HH */ |
LEFT | RIGHT |