]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/dynamic-engraver.hh
1c2a574eff520e44b7c55b6bf049a9c7cdb1c46a
[lilypond.git] / lily / include / dynamic-engraver.hh
1 /*
2   dynamic-engraver.hh -- declare Dynamic_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef DYNAMIC_GRAV_HH
11 #define DYNAMIC_GRAV_HH
12
13 #include "engraver.hh"
14
15 class Dynamic_engraver : public Engraver {
16   Direction dir_;
17   Text_item * dynamic_p_;
18   Crescendo * to_end_cresc_p_;
19   Crescendo * cresc_p_;
20   Span_dynamic_req * cresc_req_l_;
21   Array<Dynamic_req*> dynamic_req_l_arr_;
22   /* ************** */
23 public:
24   TRANSLATOR_CLONE(Dynamic_engraver);
25   Dynamic_engraver();
26   DECLARE_MY_RUNTIME_TYPEINFO;
27 protected:
28   virtual void do_removal_processing ();
29   virtual void acknowledge_element (Score_element_info);
30   virtual bool do_try_request (Request *req_l);
31   virtual void do_process_requests();
32   virtual void do_pre_move_processing();
33   virtual void do_post_move_processing();
34 };
35
36 #endif // DYNAMIC_GRAV_HH