From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Fri, 6 May 2005 09:12:51 +0000 (+0000)
Subject: new file
X-Git-Tag: release/2.5.24~56
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f68dfcc7aeb65b0b4054edbb2d9861e14d5d533e;p=lilypond.git

new file
---

diff --git a/lily/include/staff-symbol-engraver.hh b/lily/include/staff-symbol-engraver.hh
new file mode 100644
index 0000000000..13975169fe
--- /dev/null
+++ b/lily/include/staff-symbol-engraver.hh
@@ -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 */