]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/performance.hh
49951bc2177a93edbf1787de0bd69bf2c26ba606
[lilypond.git] / lily / include / performance.hh
1 /*
2   performance.hh -- declare Performance
3
4   (c) 1997--2005 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef PERFORMANCE_HH
8 #define PERFORMANCE_HH
9
10 #include "parray.hh"
11 #include "cons.hh"
12 #include "music-output.hh"
13
14 /* MIDI output.  */
15 class Performance : public Music_output
16 {
17 public:
18   Performance ();
19   ~Performance ();
20   DECLARE_CLASSNAME(Performance);
21
22   void add_element (Audio_element *p);
23
24   void output (Midi_stream &midi_stream_r);
25   void output_header_track (Midi_stream &midi_stream_r);
26
27   void print () const;
28   void write_output (String filename);
29
30   Link_array<Audio_staff> audio_staffs_;
31   Cons<Audio_element> *audio_element_list_;
32   Output_def *midi_;
33 };
34
35 #endif /* PERFORMANCE_HH */