lilypond-0.0.9
[lilypond.git] / scommands.hh
blob15c844ca65aa776f47ecd81d9310769202912100
1 /*
2 lilypond, (c) 1996 Han-Wen Nienhuys
3 */
4 #ifndef SCOMMANDS_HH
5 #define SCOMMANDS_HH
7 #include "proto.hh"
8 #include "command.hh"
9 #include "vray.hh"
10 #include "list.hh"
12 struct Score_commands : public PointerList<Command*> {
13 void add(Command);
14 void add_seq(svec<Command>);
15 void clean(Real last);
16 void set_breakable(Real when);
17 bool is_breakable(Real w);
18 PCursor<Command*> last_insertion(Real w);
19 PCursor<Command*> first(Real w);
20 void add_command_to_break(Command pre, Command mid,Command post);
21 void OK() const;
22 void print() const;
24 /** the list of commands in Score. Put in a separate class, since it
25 otherwise clutters the methods of Score. */
27 #endif