]> git.donarmstrong.com Git - lilypond.git/blob - scommands.hh
release: 0.0.5
[lilypond.git] / scommands.hh
1 /*
2   lilypond, (c) 1996 Han-Wen Nienhuys
3 */
4 #ifndef SCOMMANDS_HH
5 #define SCOMMANDS_HH
6
7 #include "proto.hh"
8 #include "command.hh"
9 #include "vray.hh"
10 #include "list.hh"
11
12 struct Score_commands : public PointerList<Command*> {
13     void process_add(Command);
14     Score_commands*parse(Real last)const;
15     void parser_add(Command*);
16     void add_seq(svec<Command>);
17     void clean(Real last);
18     void set_breakable(Real when);
19     bool is_breakable(Real w);
20     PCursor<Command*> last_insertion(Real w);
21     PCursor<Command*> first(Real w);
22     void add_command_to_break(Command pre, Command mid,Command post);
23     void OK() const;
24     void print() const;
25     Real last() const;
26     void insert_between(Command victim, PCursor<Command*> firstc,
27                         PCursor<Command*> last);
28 };
29 /** the list of commands in Score. Put in a separate class, since it
30   otherwise clutters the methods of Score.  */
31
32 #endif
33