2 grob-info.hh -- declare Grob_info
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef STAFFELEMINFO_HH
10 #define STAFFELEMINFO_HH
12 #include "lily-guile.hh"
13 #include "lily-proto.hh"
14 #include "std-vector.hh"
17 Data container for broadcasts.
21 Translator *origin_trans_;
25 friend class Engraver;
27 Direction start_end () const { return start_end_; }
28 Grob *grob () const { return grob_; }
29 Translator *origin_translator () const { return origin_trans_; }
31 Context *context () const;
32 Stream_event *event_cause () const;
33 Stream_event *ultimate_event_cause () const;
34 vector<Context*> origin_contexts (Translator *) const;
35 Grob_info (Translator *, Grob *);
39 Spanner *spanner () const;
42 #endif // STAFFELEMINFO_HH