2 inputcommands.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
7 #ifndef INPUTCOMMANDS_HH
8 #define INPUTCOMMANDS_HH
13 #include "timedescription.hh"
15 struct Commands_at : public IPointerList<Input_command*> {
16 Time_description tdescription_;
21 void parse(Staff_commands_at*);
24 void add(Input_command*);
25 void setpartial(Moment);
26 Commands_at(const Commands_at&);
27 Commands_at(Moment, Commands_at*prev);
30 struct Input_cursor : public PCursor<Commands_at*>
33 Input_cursor(PCursor<Commands_at*>);
35 void find_moment(Moment w);
36 void prev() { operator --(0); }
37 void next() { operator ++(0); }
40 /// the list of commands in Score
41 struct Input_commands : public IPointerList<Commands_at*> {
46 void find_moment(Moment);
47 void add(Input_command c,Assoc<String,Moment> &marks_assoc_r);
48 void do_skip(int bars, Moment wholes);
51 Input_commands(Input_commands const&);
55 void parse(Staff *) const;
58 #endif // INPUTCOMMANDS_HH