]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/input-file-results.hh
* lily/input-file-results.cc (do_one_file): Remove Paper_book hack.
[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--2004 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 book_count_;
27   int score_count_;
28   
29   void do_deps (String);
30
31   Input_file_results (String init, String in, String out);
32   ~Input_file_results ();
33   
34 private:
35   /* Make sure we never get an implicit constructor.*/
36   Input_file_results ();
37 };
38
39 extern Input_file_results* global_input_file;
40
41 void do_one_file (char const* file);
42
43 #endif /* FILE_RESULTS_HH */
44