]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.19
authorfred <fred>
Sat, 21 Dec 1996 01:56:17 +0000 (01:56 +0000)
committerfred <fred>
Sat, 21 Dec 1996 01:56:17 +0000 (01:56 +0000)
hdr/moment.hh [new file with mode: 0644]

diff --git a/hdr/moment.hh b/hdr/moment.hh
new file mode 100644 (file)
index 0000000..83910b1
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+  moment.hh -- part of LilyPond
+
+  (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef MOMENT_HH
+#define MOMENT_HH
+
+#include "real.hh"
+
+
+struct Moment {
+    Real when;
+    /// current measure info
+    Real whole_per_measure;
+
+    /// where am i 
+    Real whole_in_measure;
+
+    /// how long is one beat?
+    Real one_beat;
+
+    /// idem
+    int bars;
+    /****************/
+    void OK() const;
+    Moment(Real, const Moment*);
+    void print() const;
+    void setpartial(Real p);
+    Real barleft();
+    void set_meter(int,int);
+};
+
+#endif // MOMENT_HH
+