]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/dynamic-engraver.hh
release: 1.0.15
[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 public:
23   TRANSLATOR_CLONE(Dynamic_engraver);
24   Dynamic_engraver();
25   DECLARE_MY_RUNTIME_TYPEINFO;
26 protected:
27   virtual void do_removal_processing ();
28   virtual void acknowledge_element (Score_element_info);
29   virtual bool do_try_request (Request *req_l);
30   virtual void do_process_requests();
31   virtual void do_pre_move_processing();
32   virtual void do_post_move_processing();
33 };
34
35 #endif // DYNAMIC_GRAV_HH