2 acceptor.hh -- declare Translator
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
15 #include "lily-proto.hh"
16 #include "interpreter.hh"
17 #include "virtual-methods.hh"
25 virtual Interpreter
* interpreter_l() { return 0; }
27 /// Score_engraver = 0, Staff_engravers = 1, etc)
28 virtual int depth_i()const=0;
29 virtual Translator
*find_get_translator_l(String name
, String id
)=0;
30 virtual Translator
*ancestor_l(int l
=1)=0;
31 virtual ~Translator(){}
34 virtual Translator
*get_default_interpreter()=0;
37 class Interpreter
: public virtual Translator
{
39 virtual bool interpret_request_b(Request
*) { return false;}