]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.19
authorfred <fred>
Sat, 21 Dec 1996 10:35:38 +0000 (10:35 +0000)
committerfred <fred>
Sat, 21 Dec 1996 10:35:38 +0000 (10:35 +0000)
hdr/staffcommands.hh

index 7573595a373f468cad253c18b7d44c336535724e..2fb564eb625b3093dc60c27a269ab5dd36c9c617 100644 (file)
@@ -8,16 +8,17 @@
 #include "command.hh"
 #include "vray.hh"
 #include "plist.hh"
+#include "moment.hh"
 
 
 struct Staff_commands_at : public IPointerList<Command*> {
-    Real when;
-
+    Moment moment_;
+    
     /****************/
     
     bool is_breakable();
-
-    Staff_commands_at(Real);
+    Real when();
+    Staff_commands_at(Moment);
     void set_breakable();
     void add_command_to_break(Command pre, Command mid,Command post);
     void print() const;
@@ -25,14 +26,13 @@ struct Staff_commands_at : public IPointerList<Command*> {
     void insert_between(Command victim, PCursor<Command*> firstc,
                        PCursor<Command*> last);
     void add(Command c);
-
 };
 
 /// the list of commands in Score
 struct Staff_commands : public IPointerList<Staff_commands_at*>
 {
     Staff_commands_at*find(Real);
-    void add(Command,Real);
+    void add(Staff_commands_at*);
     void clean(Real last);
     void OK() const;
     void print() const;