]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lily-imports.hh
Issue 5167/5: Allow defining markup commands in LilyPond syntax
[lilypond.git] / lily / include / lily-imports.hh
1 /*
2   This file is part of LilyPond, the GNU music typesetter.
3
4   Copyright (C) 2015 by David Kastrup <dak@gnu.org>
5
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
8   the Free Software Foundation, either version 3 of the License, or
9   (at your option) any later version.
10
11   LilyPond is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef LILY_IMPORTS_HH
21 #define LILY_IMPORTS_HH
22
23 #include "lily-modules.hh"
24
25 namespace Guile_user {
26   extern Scm_module module;
27   typedef Module_variable<module> Variable;
28
29   extern Variable apply;
30   extern Variable plus;
31   extern Variable make_module;
32 #if GUILEV2
33   extern Variable module_export_all_x;
34 #endif
35   extern Variable module_export_x;
36   extern Variable module_public_interface;
37   extern Variable module_use_x;
38   extern Variable symbol_p;
39   extern Variable the_root_module;
40 }
41
42 namespace Display {
43   extern Scm_module module;
44   typedef Module_variable<module> Variable;
45
46   extern Variable value_to_lily_string;
47 }
48
49 namespace Lily {
50   extern Scm_module module;
51   typedef Module_variable<module> Variable;
52
53   extern Variable all_music_font_encodings;
54   extern Variable alterations_in_key;
55   extern Variable backend_testing;
56   extern Variable base_length;
57   extern Variable beam_exceptions;
58   extern Variable beat_structure;
59   extern Variable calc_repeat_slash_count;
60   extern Variable car_less;
61   extern Variable chordmodifiers;
62   extern Variable construct_chord_elements;
63   extern Variable default_time_signature_settings;
64   extern Variable define_markup_command;
65   extern Variable drum_pitch_names;
66   extern Variable grob_compose_function;
67   extern Variable grob_offset_function;
68   extern Variable hash_table_to_alist;
69   extern Variable interpret_markup_list;
70   extern Variable invalidate_alterations;
71   extern Variable key_p;
72   extern Variable key_list_p;
73   extern Variable key_signature_interface_alteration_positions;
74   extern Variable layout_extract_page_properties;
75   extern Variable lilypond_main;
76   extern Variable line_markup;
77   extern Variable f_location;
78   extern Variable lookup_font;
79   extern Variable lookup_markup_command;
80   extern Variable lookup_markup_list_command;
81   extern Variable ly_context_find;
82   extern Variable ly_context_set_property_x;
83   extern Variable ly_event_p;
84   extern Variable ly_make_event_class;
85   extern Variable ly_music_p;
86   extern Variable make_music;
87   extern Variable make_safe_lilypond_module;
88   extern Variable make_span_event;
89   extern Variable markup_p;
90   extern Variable markup_command_signature;
91   extern Variable markup_function_p;
92   extern Variable markup_list_function_p;
93   extern Variable markup_list_p;
94   extern Variable midi_program;
95 #if !GUILEV2
96   extern Variable module_export_all_x;
97 #endif
98   extern Variable f_parser;
99   extern Variable percussion_p;
100   extern Variable pitchnames;
101   extern Variable pure_chain_offset_callback;
102   extern Variable remove_stencil_warnings;
103   extern Variable scale_layout;
104   extern Variable scm_to_string;
105   extern Variable score_lines_markup_list;
106   extern Variable score_markup;
107   extern Variable scorify_music;
108   extern Variable span_bar_notify_grobs_of_my_existence;
109   extern Variable stencil_whiteout;
110   extern Variable stencil_whiteout_box;
111   extern Variable symbol_list_p;
112   extern Variable tremolo_get_music_list;
113   extern Variable type_name;
114   extern Variable volta_bracket_calc_hook_visibility;
115   extern Variable write_performances_midis;
116 }
117
118 namespace Syntax {
119   extern Scm_module module;
120   typedef Module_variable<module> Variable;
121
122   extern Variable add_lyrics;
123   extern Variable argument_error;
124   extern Variable composed_markup_list;
125   extern Variable context_change;
126   extern Variable context_specification;
127   extern Variable event_chord;
128   extern Variable lyric_combine;
129   extern Variable lyric_event;
130   extern Variable multi_measure_rest;
131   extern Variable music_function;
132   extern Variable music_function_call_error;
133   extern Variable partial_markup;
134   extern Variable partial_music_function;
135   extern Variable property_override;
136   extern Variable property_override_function;
137   extern Variable property_revert;
138   extern Variable property_set;
139   extern Variable property_set_function;
140   extern Variable property_unset;
141   extern Variable repeat;
142   extern Variable repetition_chord;
143   extern Variable sequential_music;
144   extern Variable simultaneous_music;
145   extern Variable tempo;
146   extern Variable unrelativable_music;
147   extern Variable void_music;
148 };
149
150 #endif