summaryrefslogtreecommitdiff
path: root/hdr/swalker.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hdr/swalker.hh')
-rw-r--r--hdr/swalker.hh34
1 files changed, 34 insertions, 0 deletions
diff --git a/hdr/swalker.hh b/hdr/swalker.hh
new file mode 100644
index 0000000000..c00923ff99
--- /dev/null
+++ b/hdr/swalker.hh
@@ -0,0 +1,34 @@
+
+/*
+ swalker.hh -- part of LilyPond
+
+ (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef SWALKER_HH
+#define SWALKER_HH
+
+#include "staff.hh"
+
+struct Staff_walker : public PCursor<Staff_column*> {
+ Staff * staff_;
+ PScore * pscore_;
+
+ int break_status;
+
+ /****************/
+ int priority() const; // Command
+ Real when() const;
+ virtual ~Staff_walker();
+ Staff_walker(Staff*, PScore*);
+ void process() ;
+ virtual void process_command(Command *)=0;
+ virtual void process_requests()=0;
+};
+/**
+ manage run-time info when walking staffcolumns such as: key,
+ meter, pending beams & slurs
+ */
+
+#endif // SWALKER_HH
+