]> git.donarmstrong.com Git - lilypond.git/blobdiff - hdr/staffcommands.hh
release: 0.0.27
[lilypond.git] / hdr / staffcommands.hh
index 2fb564eb625b3093dc60c27a269ab5dd36c9c617..1a25b9bdb4cee95c4569fa03dbab95498cbe0693 100644 (file)
@@ -1,24 +1,24 @@
 /*
-  lilypond, (c) 1996 Han-Wen Nienhuys
+  lilypond, (c) 1996,97 Han-Wen Nienhuys
 */
 #ifndef SCORECOMMANDS_HH
 #define SCORECOMMANDS_HH
 
 #include "proto.hh"
 #include "command.hh"
-#include "vray.hh"
+#include "varray.hh"
 #include "plist.hh"
-#include "moment.hh"
+#include "timedescription.hh"
 
 
 struct Staff_commands_at : public IPointerList<Command*> {
-    Moment moment_;
+    Time_description tdescription_;
     
     /****************/
     
     bool is_breakable();
-    Real when();
-    Staff_commands_at(Moment);
+    Moment when();
+    Staff_commands_at(Time_description);
     void set_breakable();
     void add_command_to_break(Command pre, Command mid,Command post);
     void print() const;
@@ -28,20 +28,5 @@ struct Staff_commands_at : public IPointerList<Command*> {
     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(Staff_commands_at*);
-    void clean(Real last);
-    void OK() const;
-    void print() const;
-    Real last() const;
-};
-/** the list of commands in Score. Put in a separate class, since it
-  otherwise clutters the methods of Score.
-
-  */
-
 #endif