lilypond-0.0.27
[lilypond.git] / hdr / inputcommand.hh
blob2654d06b7c8470046d133c2c82d9598d7f3d28b0
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"
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);
34 #endif // INPUTCOMMAND_HH