lilypond-0.1.14
[lilypond.git] / hdr / inputcommand.hh
blob8437454d9a732e116b6f8ea2619096ad51476eff
1 /*
2 inputcommand.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef INPUTCOMMAND_HH
8 #define INPUTCOMMAND_HH
9 #include "proto.hh"
10 #include "scalar.hh"
11 #include "varray.hh"
12 #include "moment.hh"
13 /// command without time assoced
14 struct Input_command {
15 /// analogous to argv[]
16 Array<Scalar> args;
17 void print()const;
18 Input_command();
20 operator Command();
22 Input_command*get_cadenza_toggle(int i);
23 Input_command *get_meterchange_command( int,int);
24 Input_command *get_key_interpret_command(Array<int >);
25 Input_command *get_clef_interpret_command(String w);
26 Input_command *get_reset_command();
27 Input_command *get_partial_command(Moment u);
28 Input_command *get_skip_command(int,Moment);
29 Input_command *get_grouping_command(Array<int>);
30 Input_command *get_bar_command(String);
31 Input_command *get_newmeasure_command();
32 Input_command *get_goto_command(String);
33 Array<int> get_default_grouping(int count, int onenote);
34 #endif // INPUTCOMMAND_HH