From: fred Date: Thu, 10 Oct 1996 19:36:19 +0000 (+0000) Subject: lilypond-0.0.3 X-Git-Tag: release/1.5.59~7111 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1486a70aea3af841efa5971c9595c03c31d77d0b;p=lilypond.git lilypond-0.0.3 --- diff --git a/globvars.hh b/globvars.hh index c79e017f71..8b13789179 100644 --- a/globvars.hh +++ b/globvars.hh @@ -1 +1 @@ -extern Score *the_score; + diff --git a/scores.cc b/scores.cc new file mode 100644 index 0000000000..cb06b0074f --- /dev/null +++ b/scores.cc @@ -0,0 +1,29 @@ +#include "main.hh" +#include "score.hh" + +static svec sv; + +static String outfn="lelie.uit"; + +void +do_scores() +{ + for (int i=0; i < sv.sz(); i++) { + sv[i]->process(); + sv[i]->output(outfn); + } +} + +void +add_score(Score * s) +{ + sv.add(s); +} + + +void +set_default_output(String s) +{ + outfn = s; +} +