]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.32
authorfred <fred>
Sun, 24 Mar 2002 19:31:55 +0000 (19:31 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:31:55 +0000 (19:31 +0000)
hdr/barreg.hh [new file with mode: 0644]
hdr/inputmusic.hh
src/meter.cc

diff --git a/hdr/barreg.hh b/hdr/barreg.hh
new file mode 100644 (file)
index 0000000..0b99ec0
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+  barreg.hh -- declare Bar_register
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef BARREG_HH
+#define BARREG_HH
+#include "register.hh"
+
+/**
+  generate bars. Either user ("|:"), or default (new measure)
+  */
+class Bar_register : public Request_register {
+    void split_bar(Bar *& pre, Bar * no, Bar * &post);
+public:
+    Bar_req * bar_req_l_;
+    Bar * bar_p_;
+    virtual bool try_request(Request *req_l);
+    virtual void process_request();
+    virtual void do_pre_move_process();
+    virtual void do_post_move_process();
+    Bar_register(Complex_walker*);
+};
+
+#endif // BARREG_HH
index 0a1d95cfc6ee7baf8e4ff101d9efd28194bf7e47..13e8f4a3653ec7ee55f2760e496f8a408f17ac4f 100644 (file)
@@ -18,6 +18,7 @@ struct Voice_list : public PointerList<Voice*> {
 
 /**
 
+  A set voices.
   Input_music is anything that can simply be regarded as/converted to
   a set of voices "cooperating" or independant. It has some basic
   characteristics that real music has too:
@@ -26,8 +27,6 @@ struct Voice_list : public PointerList<Voice*> {
   - a pitch (it can be transposed)
 
   */
-
-
 struct Input_music {
     virtual Voice_list convert()const=0;
     virtual Moment length()const=0;
@@ -75,7 +74,7 @@ struct Complex_music : Input_music {
 
 
 /**
-  voice like.
+  A voice like list of music.
 
   different music forms which start after each other ( concatenated,
   stacked "horizontally )
index 8c4af238188dfbc5017d4add2a7994593398fe4f..4f06b6469ec50d48f25d9a1fe997056528009664 100644 (file)
@@ -13,6 +13,6 @@ Molecule*
 Meter::brew_molecule_p()const
 {
     Symbol s = paper()->lookup_p_->meter(args);
-return new Molecule(Atom(s));
+    return new Molecule(Atom(s));
 }