]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lyric-engraver.hh
release: 1.1.31
[lilypond.git] / lily / include / lyric-engraver.hh
1 /*
2   lyric-engraver.hh -- declare Lyric_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef LYRIC_ENGRAVER_HH
11 #define LYRIC_ENGRAVER_HH
12
13 #include "lily-proto.hh"
14 #include "engraver.hh"
15 #include "array.hh"
16
17 /**
18    Generate texts for lyric syllables.  We only do one lyric at a time.  
19    Multiple copies of this engraver should be used to do multiple voices.
20  */
21 class Lyric_engraver : public Engraver 
22 {
23 protected:
24   virtual void do_pre_move_processing();
25   virtual bool do_try_music (Music*);
26   virtual void do_process_requests();
27   virtual void do_post_move_processing ();
28 public:
29   Lyric_engraver ();
30   VIRTUAL_COPY_CONS (Translator);
31
32 private:
33   Lyric_req * req_l_;
34   G_text_item* text_p_;
35 };
36
37
38 #endif // LYRIC_ENGRAVER_HH