From: fred Date: Wed, 11 Dec 1996 21:42:05 +0000 (+0000) Subject: lilypond-0.0.16 X-Git-Tag: release/1.5.59~6613 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b4daa76feeb42f5fd78be1e739be30ae3aac7bd0;p=lilypond.git lilypond-0.0.16 --- diff --git a/hdr/inputcommand.hh b/hdr/inputcommand.hh index 21aeaeacb4..0f32a34d48 100644 --- a/hdr/inputcommand.hh +++ b/hdr/inputcommand.hh @@ -22,7 +22,7 @@ struct Input_command { }; Input_command* get_meterchange_command( int,int); -Input_command* get_key_interpret_command(svec); +Input_command* get_key_interpret_command(svec); Input_command* get_clef_interpret_command(String w); Input_command *get_reset_command(); Input_command *get_partial_command(Real u); diff --git a/hdr/parseconstruct.hh b/hdr/parseconstruct.hh index ab50c15a1b..f0d8a4ba38 100644 --- a/hdr/parseconstruct.hh +++ b/hdr/parseconstruct.hh @@ -1,11 +1,24 @@ -#include "proto.hh" +/* + parseconstruct.hh -- part of LilyPond + + (c) 1996 Han-Wen Nienhuys +*/ -void set_default_duration(String); -void set_default_pitch(String); +#ifndef PARSECONSTRUCT_HH +#define PARSECONSTRUCT_HH + +#include "proto.hh" +void set_default_duration(int *); +void get_default_duration(int *); +void set_default_octave(String); Staff * get_new_rhythmstaff(); -Voice_element * get_note_element(String,String); -Voice_element* get_rest_element(String,String); +Voice_element * get_note_element(String,int * ,int *); +Voice_element* get_rest_element(String,int *); Staff * get_new_melodicstaff(); void add_requests( Voice_element*v, svec&req); Request* get_request(char); + + +#endif // PARSECONSTRUCT_HH + diff --git a/src/inputcommand.cc b/src/inputcommand.cc index 121271e4f0..938fc3e01a 100644 --- a/src/inputcommand.cc +++ b/src/inputcommand.cc @@ -61,13 +61,13 @@ get_grouping_command(sveca ) } Input_command* -get_key_interpret_command(sveca ) +get_key_interpret_command(sveca ) { Input_command*c = new Input_command; c->args.add("KEY"); - for (int i=0; i < a.sz(); i ++) + for (int i=0; i < a.sz(); i ++) { c->args.add(a[i]); - + } return c; }