]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-symbol-engraver.hh
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / include / staff-symbol-engraver.hh
1 /*
2   staff-symbol-engraver.hh -- declare Staff_symbol_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef STAFF_SYMBOL_ENGRAVER_HH
10 #define STAFF_SYMBOL_ENGRAVER_HH
11
12 #include "engraver.hh"
13 #include "drul-array.hh"
14
15 class Staff_symbol_engraver : public Engraver
16 {
17 public:
18   TRANSLATOR_DECLARATIONS (Staff_symbol_engraver);
19
20 private:
21
22 protected:
23   Drul_array<Music *> span_events_;
24   Spanner *span_;
25   Spanner *finished_span_;
26   bool first_start_;
27
28 protected:
29   virtual void start_spanner ();
30   virtual void stop_spanner ();
31
32   void stop_translation_timestep ();
33   virtual bool try_music (Music *);
34   virtual ~Staff_symbol_engraver ();
35   DECLARE_ACKNOWLEDGER (grob);
36   virtual void finalize ();
37   void process_music ();
38 };
39
40 #endif /* STAFF_SYMBOL_ENGRAVER_HH */