2 inputcommands.hh -- part of LilyPond
4 (c) 1996 Han-Wen Nienhuys
7 #ifndef INPUTCOMMANDS_HH
8 #define INPUTCOMMANDS_HH
14 struct Input_cursor : public PCursor<Command*>
16 /// current measure info
17 Real whole_per_measure;
20 Real whole_in_measure;
22 /// Real last when which was read
27 Input_cursor(PCursor<Command*>);
28 /// hmm. not safe. Should rethink cursor.
30 /** warning: no optor -- () defined.. */
34 void setpartial(Real);
35 void addbot(Command*);
38 void last_command_here();
41 /// the list of commands in Score
42 struct Input_commands : public IPointerList<Command*> {
47 void find_moment(Real);
48 void do_skip(int & bars, Real & wholes);
52 Input_commands(Input_commands const&);
56 Staff_commands *parse() const;
61 interpret_meter(Command *c, int &beats_per_meas, int& one_beat,
62 Real& whole_per_measure);
63 #endif // INPUTCOMMANDS_HH