lilypond-1.3.118
[lilypond.git] / lily / include / main.hh
blob401a896ad59f6ddf7c8ed8bf94f3c4b4bf721d2b
1 /*
2 main.hh -- declare global entry points
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8 #ifndef MAIN_HH
9 #define MAIN_HH
11 #include "lily-proto.hh"
13 void debug_init();
14 void set_debug (bool);
15 void do_scores();
16 void clear_scores();
17 void add_score (Score* s);
18 void set_default_output (String s);
19 String find_file (String);
20 void call_constructors ();
22 extern Sources* source_global_l;
23 extern bool no_paper_global_b;
24 extern bool safe_global_b;
25 extern bool no_timestamps_global_b;
26 extern bool find_old_relative_b;
28 extern int exit_status_i_;
29 extern bool experimental_features_global_b;
30 extern char const* output_global_ch;
31 extern bool dependency_global_b;
32 extern bool verbose_global_b;
35 extern Array<String> get_inclusion_names ();
36 extern void set_inclusion_names (Array<String>);
38 extern File_path global_path;
41 names of header fields to be dumped to a separate file.
43 extern Array<String> global_dumped_header_fieldnames;
45 extern String default_outname_base_global;
46 extern String default_outname_suffix_global;
47 extern int default_count_global;
48 extern All_font_metrics *all_fonts_global_p;
50 class ostream;
51 void print_lilypond_versions (ostream &os);
52 #endif