]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-symbol-engraver.hh
* lily/staff-symbol-engraver.cc (process_music): start initial
[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 Han-Wen Nienhuys <hanwen@xs4all.nl>
7
8 */
9
10 #ifndef STAFF_SYMBOL_ENGRAVER_HH
11 #define STAFF_SYMBOL_ENGRAVER_HH
12
13 #include "engraver.hh"
14 #include "drul-array.hh"
15
16 class Staff_symbol_engraver : public Engraver
17 {
18 public:
19   TRANSLATOR_DECLARATIONS (Staff_symbol_engraver);
20
21 private:
22
23 protected:
24   Drul_array<Music *> span_events_;
25   Spanner *span_;
26   Spanner *finished_span_;
27   bool first_start_;
28   
29 protected:
30   virtual void start_spanner ();
31   virtual void stop_spanner ();
32
33   virtual void stop_translation_timestep ();
34   virtual bool try_music (Music *);
35   virtual ~Staff_symbol_engraver ();
36   virtual void acknowledge_grob (Grob_info);
37   virtual void finalize ();
38   virtual void process_music ();
39 };
40
41 #endif /* STAFF_SYMBOL_ENGRAVER_HH */