2 main.hh -- declare global entry points
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
11 #include "lily-proto.hh"
12 #include "std-vector.hh"
13 #include "std-string.hh"
16 void set_debug (bool);
19 void add_score (Score
*s
);
20 void set_default_output (string s
);
21 string
find_file (string
);
22 void call_constructors ();
23 vector
<string
> get_inclusion_names ();
24 void set_inclusion_names (vector
<string
>);
26 extern string init_name_global
;
29 extern vector
<string
> dump_header_fieldnames_global
;
30 extern vector
<string
> start_environment_global
;
31 extern string output_backend_global
;
32 extern string output_name_global
;
33 extern bool be_safe_global
;
34 extern bool be_verbose_global
;
35 extern bool do_internal_type_checking_global
;
36 extern bool is_pango_format_global
;
37 extern bool is_TeX_format_global
;
38 extern bool point_and_click_global
;
39 extern string lilypond_datadir
;
40 extern bool use_object_keys
;
41 extern bool strict_infinity_checking
;
42 extern string init_scheme_code_global
;
43 extern string init_scheme_variables_global
;
46 todo: collect in Output_option struct?
48 extern string output_format_global
;
51 extern vector
<string
> failed_files
;
52 extern int exit_status_global
;
53 extern File_path global_path
;
54 extern const char *LILYPOND_DATADIR
;
58 Debugging options: switch on
60 Cannot switch on -DNDEBUG, because it causes weird errors if you mix
61 DNDEBUG and normal builds.
64 #define DEBUG_SLUR_SCORING 1
65 #define DEBUG_TIE_SCORING 1
66 #define DEBUG_BEAM_SCORING 1