]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/change-iterator.hh
Merge branch 'master' of ssh://jneem@git.sv.gnu.org/srv/git/lilypond into tmp
[lilypond.git] / lily / include / change-iterator.hh
index 18c0a5cc9aaf01a13127766b12099c96adeeb143..71aa7cb8d3abb2b4b98e00a8501c3523b6f72c7b 100644 (file)
@@ -1,27 +1,26 @@
 /*
-  change-iterator.hh -- declare 
+  change-iterator.hh -- declare Change_iterator
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
-
 #ifndef CHANGE_ITERATOR_HH
 #define CHANGE_ITERATOR_HH
 
-#include "music-iterator.hh"
-
+#include "simple-music-iterator.hh"
 
-class Change_iterator : public Music_iterator
+class Change_iterator : public Simple_music_iterator
 {
-  Change_translator *change_l ();
-  void  error (String);
-  
 public:
-  
-protected:
-  virtual void do_process_and_next (Moment);
+  /* constructor is public */
+  virtual void process (Moment);
+  DECLARE_SCHEME_CALLBACK (constructor, ());
+  DECLARE_CLASSNAME(Change_iterator);
+
+private:
+  void error (string);
 };
 
 #endif