X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faudio-staff.hh;h=fe570c3ad1eb8855595212547ea52031960c4317;hb=537e72140e8ab2493aa0311891672ced805abfef;hp=12f3d9c1e8ad1ec419300d6ec9c50358990028f3;hpb=69b9cead5afe7164b9053d26eba582fec3825ef8;p=lilypond.git diff --git a/lily/include/audio-staff.hh b/lily/include/audio-staff.hh index 12f3d9c1e8..fe570c3ad1 100644 --- a/lily/include/audio-staff.hh +++ b/lily/include/audio-staff.hh @@ -1,23 +1,39 @@ /* - audio-staff.hh -- declare Audio_staff + This file is part of LilyPond, the GNU music typesetter. - (c) 1996, 1997--1998 Jan Nieuwenhuizen - */ + Copyright (C) 1996--2011 Jan Nieuwenhuizen + + 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 . +*/ #ifndef AUDIO_STAFF_HH #define AUDIO_STAFF_HH -#include "proto.hh" -#include "plist.hh" +#include "std-vector.hh" #include "lily-proto.hh" #include "audio-element.hh" -struct Audio_staff : public Audio_element { - void add (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 *ai); + void output (Midi_stream &midi_stream_r, int track, bool port); + + Audio_staff (); - Link_list audio_item_l_list_; - DECLARE_MY_RUNTIME_TYPEINFO; + bool percussion_; + bool merge_unisons_; + vector audio_items_; }; #endif // AUDIO_STAFF_HH