]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/performer-group.hh
Run grand-replace (issue 3765)
[lilypond.git] / lily / include / performer-group.hh
1 /*
2   This file is part of LilyPond, the GNU music typesetter.
3
4   Copyright (C) 1996--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
5   Jan Nieuwenhuizen <janneke@gnu.org>
6
7   LilyPond is free software: you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation, either version 3 of the License, or
10   (at your option) any later version.
11
12   LilyPond is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef PERFORMER_GROUP_HH
22 #define PERFORMER_GROUP_HH
23
24 #include "performer.hh"
25 #include "translator-group.hh"
26
27 typedef void (Performer:: *Performer_method) (void);
28
29 class Performer_group : public Translator_group
30 {
31 public:
32   VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Performer_group);
33
34   void do_announces ();
35   virtual void announce_element (Audio_element_info);
36
37 protected:
38   vector<Audio_element_info> announce_infos_;
39   virtual void acknowledge_audio_elements ();
40 };
41
42 void performer_each (SCM list, Performer_method method);
43
44 #endif /* PERFORMER_GROUP_HH */