]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.9
authorfred <fred>
Fri, 8 Nov 1996 16:59:10 +0000 (16:59 +0000)
committerfred <fred>
Fri, 8 Nov 1996 16:59:10 +0000 (16:59 +0000)
hdr/stcol.hh [new file with mode: 0644]

diff --git a/hdr/stcol.hh b/hdr/stcol.hh
new file mode 100644 (file)
index 0000000..17469a4
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+  stcol.hh -- part of LilyPond
+
+  (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef STCOL_HH
+#define STCOL_HH
+#include "proto.hh"
+#include "vray.hh"
+
+/// store simultaneous requests
+struct Staff_column {
+    /// indirection
+    Score_column *score_column;
+
+    /// fields to collect data vertically.
+    svec<Voice_element *> v_elts;
+
+    /// idem
+    svec<Command *> s_commands;
+
+    /****************/
+    
+    Staff_column(Score_column*s); 
+    bool mus() const;
+    Real when() const;
+    void add(Voice_element*ve);
+    /****************************************************************
+      VIRTUAL
+    ****************************************************************/
+
+    virtual void process_requests()=0;
+
+    virtual ~Staff_column() { }
+};
+
+
+#endif // STCOL_HH
+