]> git.donarmstrong.com Git - lilypond.git/blob - hdr/inputcommand.hh
release: 0.0.27
[lilypond.git] / hdr / inputcommand.hh
1 /*
2   inputcommand.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
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
14 struct Input_command {
15     /// analogous to argv[]
16     Array<Scalar> args;
17     void print()const;
18     Input_command();
19
20     operator Command();
21 };
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
35