]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/stem-grav.hh
b5a77589ec8519f0d6c55cc74f85c1aa48631a86
[lilypond.git] / lily / include / stem-grav.hh
1 /*
2   stem-grav.hh -- declare Stem_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef STEM_GRAV_HH
11 #define STEM_GRAV_HH
12
13 #include "engraver.hh"
14
15 /**
16   Make stems upon receiving noteheads.
17  */
18 class Stem_engraver : public Engraver
19 {
20   Direction dir_;
21   int default_abbrev_i_;
22   Stem *stem_p_;
23   Rhythmic_req *rhythmic_req_l_;
24   Abbreviation_req* abbrev_req_l_;
25 protected:
26   virtual void do_creation_processing ();
27   virtual void acknowledge_element (Score_elem_info);
28   virtual void do_pre_move_processing ();
29   virtual bool do_try_request (Request*);
30
31 public:
32   TRANSLATOR_CLONE(Stem_engraver);
33   Stem_engraver();
34   DECLARE_MY_RUNTIME_TYPEINFO;
35 };
36
37 #endif // STEM_GRAV_HH