]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/input-file-results.hh
1cd5c825ed52086cdf2a7005bc78fa50171cf3ae
[lilypond.git] / lily / include / input-file-results.hh
1 /*   
2   file-results.hh -- declare functions for processing one input file.
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef FILE_RESULTS_HH
11 #define FILE_RESULTS_HH
12
13 #include "lily-proto.hh"
14 #include "source.hh"
15 #include "parray.hh"
16 #include "protected-scm.hh"
17
18 class Input_file_results
19 {
20 public:
21   Sources sources_;
22   Array<String> inclusion_names_;
23   Array<String> target_strings_;
24   Link_array<Score> scores_;
25   Protected_scm header_;
26
27   void do_deps ();
28   void do_scores ();
29
30   Input_file_results (String file, String init);
31   ~Input_file_results ();
32   
33 private:
34   /* Make sure we never get an implicit constructor.*/
35   Input_file_results ();
36 };
37
38 extern Input_file_results* global_input_file;
39
40 void do_one_file (String init_string, String file_string);
41
42
43 #endif /* FILE_RESULTS_HH */
44