]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/input-file-results.hh
22c4622f17002f9e0e43fa2b142e75ec66028e2d
[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--2003 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   Protected_scm header_;
25
26   int score_count_;
27   
28   void do_deps (String);
29
30   Input_file_results (String init, String in, String out);
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 in_file, String out_file);
41
42
43 #endif /* FILE_RESULTS_HH */
44