]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.38
authorfred <fred>
Mon, 3 Mar 1997 20:44:09 +0000 (20:44 +0000)
committerfred <fred>
Mon, 3 Mar 1997 20:44:09 +0000 (20:44 +0000)
hdr/voice-group-regs.hh [new file with mode: 0644]
hdr/voice-regs.hh [new file with mode: 0644]

diff --git a/hdr/voice-group-regs.hh b/hdr/voice-group-regs.hh
new file mode 100644 (file)
index 0000000..7c1b4ed
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+  voice-group-regs.hh -- declare Voice_group_registers
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef VOICEGROUPREGS_HH
+#define VOICEGROUPREGS_HH
+
+#include "registergroup.hh"
+
+struct Voice_group_registers  : Register_group_register {
+    String group_id_str_;
+    Array<Voice_registers*> voice_regs_l_;
+    
+    /* *************** */
+    
+    NAME_MEMBERS(Voice_group_registers);
+    static bool static_acceptable_request_b(Request*);
+    virtual void terminate_register(Request_register*);
+    virtual void do_print() const;
+    virtual void add(Request_register*);
+    Voice_group_registers(String id);
+    virtual bool try_request(Request*);
+};
+#endif // VOICEGROUPREGS_HH
diff --git a/hdr/voice-regs.hh b/hdr/voice-regs.hh
new file mode 100644 (file)
index 0000000..82070a7
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+  voice-regs.hh -- declare Voice_registers
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef VOICEREGS_HH
+#define VOICEREGS_HH
+
+#include "registergroup.hh"
+
+class Voice_registers : public Register_group_register {
+
+
+public:
+    Voice *voice_l_;
+    /* *************** */
+
+    NAME_MEMBERS(Voice_registers);
+    virtual bool acceptable_request_b(Request*);
+    virtual void acknowledge_element(Staff_elem_info info);
+    virtual bool try_request(Request*);
+    Voice_registers(Voice*);
+    virtual void do_print() const;
+};
+
+
+#endif // VOICEREGS_HH