]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/main.hh
* lily/include/slur-scoring.hh (struct Slur_score_state): new file
[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--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8 #ifndef MAIN_HH
9 #define MAIN_HH
10
11 #include "lily-proto.hh"
12 #include "array.hh"
13
14 void debug_init ();
15 void set_debug (bool);
16 void do_scores ();
17 void clear_scores ();
18 void add_score (Score* s);
19 void set_default_output (String s);
20 String find_file (String);
21 void call_constructors ();
22
23 Array<String> get_inclusion_names ();
24 void set_inclusion_names (Array<String>);
25
26
27 extern String init_name_global;
28
29 /* options */
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   todo: collect in Output_option struct? 
41  */
42 extern bool make_png;
43 extern bool make_dvi;
44 extern bool make_ps;
45 extern bool make_pdf;
46 extern bool make_tex;
47 extern bool make_preview;
48
49 /* misc */
50 extern Array<String> failed_files;
51 extern int exit_status_global;
52 extern File_path global_path;
53
54 /*
55   Debugging options
56  */
57
58 #define DEBUG_SLUR_SCORING 1
59
60 #endif /* MAIN_HH */