--- /dev/null
+/*
+ simplewalker.hh -- part of LilyPond
+
+ (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef SIMPLEWALKER_HH
+#define SIMPLEWALKER_HH
+
+#include "proto.hh"
+
+struct Simple_walker: Staff_walker {
+ Stem *stem_;
+ svec<Notehead *>noteheads;
+ Local_key local_key_;
+ Key key_;
+ svec<int> *oldkey_undo;
+ svec<int> typesetkey;
+ Beam *beam_;
+ Local_key_item *local_key_item_;
+ bool wantkey; // urgh
+ bool processed_key;
+ bool processed_clef;
+ Clef clef_;
+
+ /****************/
+
+ virtual void do_TYPESET_command(Command*);
+ virtual void do_INTERPRET_command(Command*);
+ virtual void process_requests();
+ virtual void reset();
+
+ void do_notes();
+ Simple_walker(Simple_staff*);
+ Simple_column *col();
+ Simple_staff *staff();
+
+ void do_local_key(Note_req*n);
+};
+
+
+#endif // SIMPLEWALKER_HH
+
+
#include "request.hh"
#include "swalker.hh"
#include "debug.hh"
+#include "clef.hh"
#include "staff.hh"
#include "command.hh"
#include "simplestaff.hh"
#include "sccol.hh"
-
+#include "simplewalker.hh"
}
}
}
+
Staff_column*
Simple_staff::create_col(Score_column*s)
{
return new Simple_column(s,this);
}
+
void
Simple_staff::walk()
{