]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/input-file-results.hh
* lily/source-file.cc (init_port): add an SCM port to the
[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 "scm-hash.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   /* Global? prefix is bit confusing */
26   Scheme_hash_table * header_;
27
28   void do_deps ();
29   void do_scores ();
30
31   Input_file_results (String file, String init);
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 (String init_string, String file_string);
42
43
44 #endif /* FILE_RESULTS_HH */
45