]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/grob-info.hh
* flower
[lilypond.git] / lily / include / grob-info.hh
index c8f57c20aad655e5cebb051a5d9d0163040d3493..4ebc0b2999ac38bb6e83752db4c2810f7605bb35 100644 (file)
@@ -3,33 +3,30 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-
 #ifndef STAFFELEMINFO_HH
 #define STAFFELEMINFO_HH
 
+#include "lily-guile.hh"
 #include "lily-proto.hh"
 #include "parray.hh"
 
-/**
+/*
   Data container for broadcasts.
+*/
+struct Grob_info
+{
+  Translator *origin_trans_;
+  friend class Engraver;
 
-  TODO: Store this in element info! 
-  */
-struct Grob_info {
-  Translator * origin_trans_l_;
-  friend Engraver;
-public:
-  Link_array<Translator> origin_trans_l_arr (Translator*) const; 
-  Grob * elem_l_;
-  Music *req_l_;
-
+  Grob *grob_;
 
-  Grob_info (Grob*, Music*);
+public:
+  Music *music_cause ();
+  Link_array<Context> origin_contexts (Translator *) const;
   Grob_info ();
 };
 
-
 #endif // STAFFELEMINFO_HH