#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;
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;