2 inputcommands.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
7 #ifndef INPUTCOMMANDS_HH
8 #define INPUTCOMMANDS_HH
14 #include "timedescription.hh"
16 struct Commands_at
: public IPointerList
<Input_command
*> {
17 Time_description tdescription_
;
22 void parse(Staff_commands_at
*);
25 void add(Input_command
*);
26 void setpartial(Moment
);
27 Commands_at(const Commands_at
&);
28 Commands_at(Moment
, Commands_at
*prev
);
31 struct Input_cursor
: public PCursor
<Commands_at
*>
34 Input_cursor(PCursor
<Commands_at
*>);
36 void find_moment(Moment w
);
37 void prev() { operator --(0); }
38 void next() { operator ++(0); }
41 /// the list of commands in Score
42 struct Input_commands
: public IPointerList
<Commands_at
*> {
47 void find_moment(Moment
);
48 void add(Input_command c
,Assoc
<String
,Moment
> &marks_assoc_r
);
49 void do_skip(int bars
, Moment wholes
);
52 Input_commands(Input_commands
const&);
56 void parse(Staff
*) const;
59 #endif // INPUTCOMMANDS_HH