(parse_symbol_list): Bugfix.
[lilypond/patrick.git] / lily / include / score-performer.hh
blobbd8528b876c377ff2462e56ffcd3d42c20268b73
1 /*
2 score-performer.hh -- declare Score_performer
4 (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
5 Jan Nieuwenhuizen <janneke@gnu.org>
6 */
8 #ifndef SCORE_PERFORMER_HH
9 #define SCORE_PERFORMER_HH
11 #include "performer-group-performer.hh"
12 #include "score-translator.hh"
14 /**
15 Top level performer. Completely takes care of MIDI output
17 class Score_performer : public Score_translator, public virtual Performer_group_performer
19 public:
20 VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Score_performer);
21 ~Score_performer ();
22 Performance *performance_;
24 Score_performer ();
25 protected:
26 virtual void prepare (Moment mom);
27 virtual void finish ();
28 virtual void one_time_step ();
29 virtual void initialize ();
30 virtual void announce_element (Audio_element_info);
31 virtual int get_tempo () const;
32 virtual void play_element (Audio_element *p);
33 virtual SCM get_output ();
34 virtual void derived_mark () const;
35 private:
36 void header (Midi_stream &);
38 Audio_column *audio_column_;
41 #endif // SCORE_PERFORMER_HH