]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/audio-staff.hh
Fix Page_breaking::min_page_count on ragged pages.
[lilypond.git] / lily / include / audio-staff.hh
index 99f418ca4e60df6b0d019e8717a60769999c7a0a..9cfecae9986b283295557b5ebae5532ef12fbf64 100644 (file)
@@ -1,21 +1,37 @@
 /*
-  audio-staff.hh -- declare Audio_staff
+  This file is part of LilyPond, the GNU music typesetter.
 
-  (c) 1996--2002 Jan Nieuwenhuizen <janneke@gnu.org>
- */
+  Copyright (C) 1996--2010 Jan Nieuwenhuizen <janneke@gnu.org>
+
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
+*/
 
 #ifndef AUDIO_STAFF_HH
 #define AUDIO_STAFF_HH
 
-#include "parray.hh"
+#include "std-vector.hh"
 #include "lily-proto.hh"
 #include "audio-element.hh"
 
-struct Audio_staff : public Audio_element {
-  void add_audio_item (Audio_item*  l);
-  void output (Midi_stream& midi_stream_r, int track_i);
+struct Audio_staff : public Audio_element
+{
+  void add_audio_item (Audio_item *l);
+  void output (Midi_stream &midi_stream_r, int track);
 
-  Link_array<Audio_item> audio_items_;
+  Audio_staff ();
+  
+  vector<Audio_item*> audio_items_;
   int channel_;
 };