]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/input.hh
release: 0.0.46.jcn1
[lilypond.git] / lily / include / input.hh
1 /*
2   input.hh -- declare Input
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef INPUT_HH
11 #define INPUT_HH
12
13 /**
14   Base class for anything that records its poisition in the parse file.
15  */
16 class Input {
17     char const *defined_ch_C_ ;
18     Sources * sources_l_;
19 public:
20     
21     void warning(String)const; // should use member func?
22     void error(String)const;
23     void message(String)const;
24     void set_spot(Input const &);
25     void set_sources(Sources *);
26     
27     String location_str()const;
28     Input(Sources *,char const*);
29     Input();
30 };
31
32 #endif // INPUT_HH