]> git.donarmstrong.com Git - lilypond.git/blob - lily/audio-column.cc
patch::: 0.1.1.jcn1: zachte pats
[lilypond.git] / lily / audio-column.cc
1 /*
2   audio-column.cc -- implement Audio_column
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
7  */
8
9 #include "audio-column.hh"
10 #include "audio-item.hh"
11 #include "audio-score.hh"
12
13 #include "debug.hh"
14
15 Audio_column::Audio_column( Moment at_mom )
16 {
17     at_mom_ = at_mom;
18     audio_score_l_ = 0;
19 }
20
21 void
22 Audio_column::add( Audio_item* l )
23 {
24     audio_item_l_list_.bottom().add( l );
25     l->audio_column_l_ = this; 
26 }
27
28 Moment
29 Audio_column::at_mom() const
30 {
31     return at_mom_;
32 }
33
34 void
35 Audio_column::print() const
36 {
37 #ifndef NPRINT
38     mtor << "Audio_column {";
39     mtor << "at: " << at_mom_ << "\n";
40     mtor << "}\n";
41 #endif 
42 }
43