lilypond-1.2.15
[lilypond.git] / lib / include / input.hh
bloba78daa8ef394408561b85815e30a2cd09d6020b7
1 /*
2 input.hh -- declare Input
4 source file of the LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
10 #ifndef INPUT_HH
11 #define INPUT_HH
13 #include "proto.hh"
15 /**
16 Base class for anything that records its poisition in the parse file.
18 class Input {
19 char const *defined_ch_C_ ;
20 Source_file * source_file_l_;
21 public:
23 void warning (String) const; // should use member func?
24 void non_fatal_error (String) const;
25 void error (String) const;
26 void message (String) const;
27 void set_spot (Input const &);
28 Input spot () const;
29 String location_str () const;
30 Input (Source_file*, char const*);
31 Input ();
34 #endif // INPUT_HH