]> git.donarmstrong.com Git - lilypond.git/commitdiff
new file
authorhanwen <hanwen>
Fri, 6 May 2005 09:12:51 +0000 (09:12 +0000)
committerhanwen <hanwen>
Fri, 6 May 2005 09:12:51 +0000 (09:12 +0000)
lily/include/staff-symbol-engraver.hh [new file with mode: 0644]

diff --git a/lily/include/staff-symbol-engraver.hh b/lily/include/staff-symbol-engraver.hh
new file mode 100644 (file)
index 0000000..1397516
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+  staff-symbol-engraver.hh -- declare Staff_symbol_engraver
+
+  source file of the GNU LilyPond music typesetter
+
+  (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+*/
+
+#ifndef STAFF_SYMBOL_ENGRAVER_HH
+#define STAFF_SYMBOL_ENGRAVER_HH
+
+#include "engraver.hh"
+#include "drul-array.hh"
+
+class Staff_symbol_engraver : public Engraver
+{
+public:
+  TRANSLATOR_DECLARATIONS (Staff_symbol_engraver);
+
+private:
+
+protected:
+  Drul_array<Music *> span_events_;
+  Spanner *span_;
+  Spanner *finished_span_;
+  bool first_start_;
+  
+protected:
+  virtual void start_spanner ();
+  virtual void stop_spanner ();
+
+  virtual void stop_translation_timestep ();
+  virtual bool try_music (Music *);
+  virtual ~Staff_symbol_engraver ();
+  virtual void initialize ();
+  virtual void acknowledge_grob (Grob_info);
+  virtual void finalize ();
+  virtual void process_music ();
+};
+
+#endif /* STAFF_SYMBOL_ENGRAVER_HH */