]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/stem-grav.hh
release: 0.1.47
[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   Abbreviation *abbrev_p_;
24   Rhythmic_req *rhythmic_req_l_;
25   Abbreviation_req* abbrev_req_l_;
26 protected:
27   virtual void do_creation_processing ();
28   virtual void acknowledge_element (Score_elem_info);
29   virtual void do_pre_move_processing ();
30   virtual bool do_try_request (Request*);
31
32 public:
33   TRANSLATOR_CLONE(Stem_engraver);
34   Stem_engraver();
35   DECLARE_MY_RUNTIME_TYPEINFO;
36 };
37
38 #endif // STEM_GRAV_HH