]> git.donarmstrong.com Git - lilypond.git/blob - hdr/staffcommands.hh
release: 0.0.22
[lilypond.git] / hdr / staffcommands.hh
1 /*
2   lilypond, (c) 1996 Han-Wen Nienhuys
3 */
4 #ifndef SCORECOMMANDS_HH
5 #define SCORECOMMANDS_HH
6
7 #include "proto.hh"
8 #include "command.hh"
9 #include "varray.hh"
10 #include "plist.hh"
11 #include "timedescription.hh"
12
13
14 struct Staff_commands_at : public IPointerList<Command*> {
15     Time_description tdescription_;
16     
17     /****************/
18     
19     bool is_breakable();
20     Moment when();
21     Staff_commands_at(Time_description);
22     void set_breakable();
23     void add_command_to_break(Command pre, Command mid,Command post);
24     void print() const;
25     void OK() const;
26     void insert_between(Command victim, PCursor<Command*> firstc,
27                         PCursor<Command*> last);
28     void add(Command c);
29 };
30
31 #endif
32