]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.52
authorfred <fred>
Sun, 24 Mar 2002 19:39:27 +0000 (19:39 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:39:27 +0000 (19:39 +0000)
init/register.ini
lily/include/collision-reg.hh [new file with mode: 0644]
lily/include/collision.hh [new file with mode: 0644]

index e5822087ba5e56a8cdd2a627736446a975549a9c..4168de973dfe02102a7d4cb23d6fa3a28f4919a3 100644 (file)
@@ -8,6 +8,7 @@ melodicregs = \inputregister {
        \inputregister {Meter_register}
        \inputregister {Local_key_register}
        \inputregister { Staff_sym_register }
+       \inputregister { Collision_register }
        \inputregister {
                Voice_group_registers
                \inputregister { Dynamic_register }
diff --git a/lily/include/collision-reg.hh b/lily/include/collision-reg.hh
new file mode 100644 (file)
index 0000000..31de018
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+  collision-reg.hh -- declare Collision_register
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef COLLISION_REG_HH
+#define COLLISION_REG_HH
+
+#include "register.hh"
+
+class Collision_register : public Request_register {
+    Collision* col_p_;
+
+protected:
+    virtual void acknowledge_element(Staff_elem_info);
+    virtual void pre_move_processing();
+public:
+    Collision_register();
+    NAME_MEMBERS(Collision_register);
+};
+#endif // COLLISION_REG_HH
diff --git a/lily/include/collision.hh b/lily/include/collision.hh
new file mode 100644 (file)
index 0000000..844496a
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+  collision.hh -- declare Collision
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef COLLISION_HH
+#define COLLISION_HH
+#include "lily-proto.hh"
+#include "item.hh"
+
+class Collision : public Item {
+    Array<Note_column*> clash_l_arr_;
+protected:
+    virtual void do_pre_processing();
+public:
+    NAME_MEMBERS(Collision);
+    void add (Note_column*ncol_l);
+    Collision();
+    
+};
+#endif // COLLISION_HH