]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/score-performer.hh
release: 1.1.54
[lilypond.git] / lily / include / score-performer.hh
index ef2385ad46d4a84066ebcd0982006ff20ae857ca..289f6948286080592f114b1a511977bf2334f8c5 100644 (file)
@@ -1,8 +1,8 @@
 /*
   score-performer.hh -- declare Score_performer
 
-  (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
-                 Jan Nieuwenhuizen <jan@digicash.com>
+  (c) 1996,  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+                 Jan Nieuwenhuizen <janneke@gnu.org>
  */
 
 #ifndef SCORE_PERFORMER_HH
@@ -18,8 +18,8 @@ class Score_performer:
   public Performer_group_performer, public Global_translator 
 {
 public:
-  TRANSLATOR_CLONE(Score_performer);
-  DECLARE_MY_RUNTIME_TYPEINFO;
+  VIRTUAL_COPY_CONS(Translator);
+  
   Score_performer();
   ~Score_performer();
   Performance *performance_p_;
@@ -29,10 +29,12 @@ protected:
   virtual void prepare (Moment mom);
   virtual void process();
   virtual void start();
-  virtual void add_processing ();
+  virtual void do_add_processing ();
+  virtual void announce_element (Audio_element_info);
   virtual int get_tempo_i() const;
-  virtual void play (Audio_element* p);
+  virtual void play_element (Audio_element* p);
   virtual Music_output *get_output_p ();
+
 private:
   void header (Midi_stream&);