]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/main.hh
* Another grand 2003 update.
[lilypond.git] / lily / include / main.hh
1 /*
2   main.hh -- declare global entry points
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8 #ifndef MAIN_HH
9 #define MAIN_HH
10
11 #include "lily-proto.hh"
12
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 ();
21 extern Array<String> get_inclusion_names ();
22 extern void set_inclusion_names (Array<String>);
23
24 /* FIXME: in warn.cc */
25 void progress_indication (String);
26
27 /* options */
28 extern bool dependency_global_b;
29 extern String dependency_prefix_global;
30 extern Array<String> dump_header_fieldnames_global;
31 extern bool no_paper_global_b;
32 extern String output_format_global;
33 extern String output_name_global;
34 extern bool safe_global_b;
35 extern bool verbose_global_b;
36 extern bool store_locations_global_b;
37 extern bool internal_type_checking_global_b;
38
39
40 /* misc */
41 extern All_font_metrics *all_fonts_global;
42 extern int exit_status_global;
43 extern File_path global_path;
44 extern int score_count_global;
45
46 #endif /* MAIN_HH */