From e44006629059d5cedf3294bad81fb5d834c623c9 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 29 Nov 1996 14:15:48 +0000 Subject: [PATCH] lilypond-0.0.13 --- hdr/staffcommands.hh | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 hdr/staffcommands.hh diff --git a/hdr/staffcommands.hh b/hdr/staffcommands.hh new file mode 100644 index 0000000000..b7cdef0f9b --- /dev/null +++ b/hdr/staffcommands.hh @@ -0,0 +1,37 @@ +/* + lilypond, (c) 1996 Han-Wen Nienhuys +*/ +#ifndef SCORECOMMANDS_HH +#define SCORECOMMANDS_HH + +#include "proto.hh" +#include "command.hh" +#include "vray.hh" +#include "plist.hh" + +/// the list of commands in Score +struct Staff_commands : public IPointerList { + void process_add(Command); + void add_seq(svec,bool); + 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 + -- 2.39.5