]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/lyric-engraver.hh
release: 1.3.25
[lilypond.git] / lily / include / lyric-engraver.hh
index 47a2b58bb199fb6fbedd5a32815f17c541d03e21..7ed599e27560373101f856f78c65e2211d0a0f34 100644 (file)
@@ -3,28 +3,36 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef LYRIC_ENGRAVER_HH
 #define LYRIC_ENGRAVER_HH
-#include "engraver.hh"
-#include "array.hh"
 
 #include "lily-proto.hh"
+#include "engraver.hh"
+#include "array.hh"
 
-class Lyric_engraver : public Engraver {
-  Lyric_req* lreq_l_;
-  Text_item *lyric_item_p_;
+/**
+   Generate texts for lyric syllables.  We only do one lyric at a time.  
+   Multiple copies of this engraver should be used to do multiple voices.
+ */
+class Lyric_engraver : public Engraver 
+{
 protected:
   virtual void do_pre_move_processing();
   virtual bool do_try_music (Music*);
   virtual void do_process_requests();
-  virtual void do_post_move_processing();
+  virtual void do_post_move_processing ();
 public:
-  VIRTUAL_COPY_CONS(Translator);
-    
-  Lyric_engraver();
+  Lyric_engraver ();
+  VIRTUAL_COPY_CONS (Translator);
+
+private:
+  Lyric_req * req_l_;
+  Text_item* text_p_;
 };
+
+
 #endif // LYRIC_ENGRAVER_HH