]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.10
authorfred <fred>
Fri, 15 Nov 1996 10:20:12 +0000 (10:20 +0000)
committerfred <fred>
Fri, 15 Nov 1996 10:20:12 +0000 (10:20 +0000)
hdr/keyitem.hh [new file with mode: 0644]

diff --git a/hdr/keyitem.hh b/hdr/keyitem.hh
new file mode 100644 (file)
index 0000000..d5b1593
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+  keyitem.hh -- part of LilyPond
+
+  (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef KEYITEM_HH
+#define KEYITEM_HH
+
+#include "item.hh"
+
+struct Keyitem : Item {
+    svec<int> pitch;
+    svec<int> acc;
+    int c_position;
+
+    /****************/
+    
+    Keyitem(int cposition);
+    void add(int pitch, int acc);
+    void read(svec<int> k);
+    void preprocess();
+
+private:
+    void brew_molecole();
+};
+#endif // KEYITEM_HH