/*
- global-acceptor.hh -- declare Global_acceptor
+ global-translator.hh -- declare Global_translator
source file of the GNU LilyPond music typesetter
*/
-#ifndef GLOBAL_ACCEPTOR_HH
-#define GLOBAL_ACCEPTOR_HH
+#ifndef GLOBAL_TRANSLATOR_HH
+#define GLOBAL_TRANSLATOR_HH
-#include "acceptor.hh"
+#include "translator.hh"
#include "pqueue.hh"
class Global_translator : public virtual Translator {
Moment last_mom_;
public:
Score *score_l_;
+
Global_translator();
int moments_left_i()const;
void modify_next(Moment&);
virtual void prepare(Moment);
virtual void process() {}
virtual void finish() {}
+ virtual void start() {}
+ NAME_MEMBERS();
protected:
+
+ virtual Global_translator *global_l() { return this; }
virtual int depth_i() const;
virtual Translator *ancestor_l(int);
};
-#endif // Global_translator_HH
+#endif // GLOBAL_TRANSLATOR_HH