]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/voice-regs.hh
release: 0.0.70pre
[lilypond.git] / lily / include / voice-regs.hh
index 4586f40ab2d3b5741107044dc8c07eab0884b170..8d34121bb0f62c8a90a31a1939dd6edc78ecf028 100644 (file)
@@ -1,7 +1,7 @@
 /*
   voice-regs.hh -- declare Voice_registers
 
-  source file of the LilyPond music typesetter
+  source file of the GNU LilyPond music typesetter
 
   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
 */
 #define VOICEREGS_HH
 
 #include "register-group.hh"
+#include "interpreter.hh"
 
-class Voice_registers : public Register_group_register {
-    Input_register const *ireg_C_;
-    bool terminate_b_;
+class Voice_registers : public Interpreter, public Register_group_register {
 public:
-    Voice *voice_l_;
-    /* *************** */
-
-    Voice_registers(Voice*, Input_register const*);
-    NAME_MEMBERS(Voice_registers);
+    NAME_MEMBERS();
 
 protected:
-    virtual void pre_move_processing();
-    virtual bool acceptable_request_b(Request*);
-    virtual void acknowledge_element(Score_elem_info info);
-    virtual bool try_request(Request*);
-    virtual void do_print() const;
+    virtual bool interpret_request_b(Request*);
+    virtual Interpreter* interpreter_l() { return this; }
 };