]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/performer-group-performer.hh
Uniformize, internalize.
[lilypond.git] / lily / include / performer-group-performer.hh
1 /*
2   performer-group-performer.hh -- declare Performer_group_performer
3
4   (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
5                  Jan Nieuwenhuizen <janneke@gnu.org>
6  */
7
8 #ifndef PERFORMER_GROUP_PERFORMER_HH
9 #define PERFORMER_GROUP_PERFORMER_HH
10
11 #include "performer.hh"
12 #include "translator-group.hh"
13
14 typedef void (Performer::*Performer_method) (void);
15
16 class Performer_group_performer : public Performer, public virtual Translator_group {
17 public:
18   TRANSLATOR_DECLARATIONS(Performer_group_performer);
19   
20   virtual void do_announces ();
21   virtual void announce_element (Audio_element_info);
22 protected:
23   Array<Audio_element_info> announce_infos_;
24
25 private:
26   void acknowledge_audio_elements ();
27 };
28
29 void performer_each (SCM list, Performer_method method);
30
31 #endif // PERFORMER_GROUP_PERFORMER_HH
32