lilypond-0.1.57
[lilypond.git] / hdr / staffcommands.hh
blob1caead811eafd3e070a82a88cebce9285b716850
1 /*
2 lilypond, (c) 1996,97 Han-Wen Nienhuys
3 */
4 #ifndef SCORECOMMANDS_HH
5 #define SCORECOMMANDS_HH
7 #include "proto.hh"
8 #include "command.hh"
9 #include "varray.hh"
10 #include "plist.hh"
11 #include "timedescription.hh"
14 struct Staff_commands_at : public IPointerList<Command*> {
15 Time_description tdescription_;
17 /* *************** */
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);
31 #endif