* configure.in: bump GCC requirements to 3.x
[lilypond.git] / lily / audio-element-info.cc
blob7876f47cc13206b6e3817d580ab0f7d3d89d5957
1 /*
2 Audio-element-info.cc -- implement Audio_element_info
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
9 #include "audio-element-info.hh"
10 #include "translator-group.hh"
12 Audio_element_info::Audio_element_info (Audio_element*s, Music *r)
14 elem_ = s;
15 origin_trans_ =0;
16 event_ = r;
20 Audio_element_info::Audio_element_info ()
22 elem_ = 0;
23 event_ = 0;
24 origin_trans_ =0;
28 Link_array<Translator>
29 Audio_element_info::origin_transes (Translator* end) const
31 Translator * t = origin_trans_;
32 Link_array<Translator> r;
33 do {
34 r.push (t);
35 t = t->daddy_trans_;
36 } while (t && t != end->daddy_trans_);
38 return r;