]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/audio-column.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / audio-column.hh
1 /*
2   audio-column.hh -- declare Audio_column
3
4   (c) 1997--2008 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef AUDIO_COLUMN_HH
8 #define AUDIO_COLUMN_HH
9
10 #include "lily-proto.hh"
11 #include "moment.hh"
12 #include "std-vector.hh"
13 #include "audio-element.hh"
14
15 /**
16    generic audio grouped vertically.
17 */
18
19 class Audio_column : public Audio_element
20 {
21 public:
22   Audio_column (Moment when);
23
24   void add_audio_item (Audio_item *i);
25   Moment when () const;
26
27   vector<Audio_item*> audio_items_;
28   Moment when_;
29   int ticks () const ;
30 protected:
31   void offset_when (Moment m);
32   friend class Score_performer;
33
34 };
35
36 #endif // AUDIO_COLUMN_HH