From: fred Date: Thu, 7 Nov 1996 23:05:16 +0000 (+0000) Subject: lilypond-0.0.9 X-Git-Tag: release/1.5.59~6871 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f591260792b165824996898f79372257892a7721;p=lilypond.git lilypond-0.0.9 --- diff --git a/hdr/scommands.hh b/hdr/scommands.hh new file mode 100644 index 0000000000..ae908d7647 --- /dev/null +++ b/hdr/scommands.hh @@ -0,0 +1,39 @@ +/* + lilypond, (c) 1996 Han-Wen Nienhuys +*/ +#ifndef SCOMMANDS_HH +#define SCOMMANDS_HH + +#include "proto.hh" +#include "command.hh" +#include "vray.hh" +#include "plist.hh" + +/// the list of commands in Score +struct Score_commands : public PointerList { + void process_add(Command); + Score_commands*parse(Real last)const; + void parser_add(Command*); + void add_seq(svec); + void clean(Real last); + void set_breakable(Real when); + bool is_breakable(Real w); + PCursor last_insertion(Real w); + PCursor first(Real w); + void add_command_to_break(Command pre, Command mid,Command post); + void OK() const; + void print() const; + Real last() const; + void insert_between(Command victim, PCursor firstc, + PCursor last); +}; +/** the list of commands in Score. Put in a separate class, since it + otherwise clutters the methods of Score. + + This class serves two purposes: it stores the commands (via + parser_add()) in the yacc parser. at a later stage, some 'high + level' commands are converted (method: parse()) + */ + +#endif +