2 lilypond, (c) 1996 Han-Wen Nienhuys
4 #ifndef SCORECOMMANDS_HH
5 #define SCORECOMMANDS_HH
12 /// the list of commands in Score
13 struct Staff_commands : public IPointerList<Command*> {
14 void process_add(Command);
15 void add_seq(svec<Command>,bool);
16 void clean(Real last);
17 void set_breakable(Real when);
18 bool is_breakable(Real w);
19 PCursor<Command*> last_insertion(Real w);
20 PCursor<Command*> first(Real w);
21 void add_command_to_break(Command pre, Command mid,Command post);
25 void insert_between(Command victim, PCursor<Command*> firstc,
26 PCursor<Command*> last);
28 /** the list of commands in Score. Put in a separate class, since it
29 otherwise clutters the methods of Score.
31 This class serves two purposes: it stores the commands (via
32 parser_add()) in the yacc parser. at a later stage, some 'high
33 level' commands are converted (method: parse())