]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/performance.hh
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / lily / include / performance.hh
1 /*
2   performance.hh -- declare Performance
3
4   (c) 1997--2006 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef PERFORMANCE_HH
8 #define PERFORMANCE_HH
9
10 #include "std-vector.hh"
11 #include "music-output.hh"
12
13 /* MIDI output.  */
14 class Performance : public Music_output
15 {
16 public:
17   Performance ();
18   ~Performance ();
19   DECLARE_CLASSNAME(Performance);
20
21   void add_element (Audio_element *p);
22
23   void output (Midi_stream &midi_stream_r);
24   void output_header_track (Midi_stream &midi_stream_r);
25
26   void print () const;
27   void write_output (string filename);
28
29   vector<Audio_staff*> audio_staffs_;
30   vector<Audio_element*> audio_elements_;
31   Output_def *midi_;
32 };
33
34 #endif /* PERFORMANCE_HH */