]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/change-iterator.hh
2003 -> 2004
[lilypond.git] / lily / include / change-iterator.hh
index bbdb61d4287cd71edf813acbb3900e268288adbb..b94c1cacce0cd4fbb11313b71bd0fa82d5d4896c 100644 (file)
@@ -1,29 +1,27 @@
 /*
-  change-iterator.hh -- declare 
+  change-iterator.hh -- declare Change_iterator
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.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
 {
-  void  error (String);
-
-protected:
-  virtual void do_process_and_next (Moment);
-
 public:
-  /*
-    CTOR is public
-   */
+  /* constructor is public */
+  virtual void process (Moment);
+  DECLARE_SCHEME_CALLBACK(constructor, ());
+
+private:
+  void  error (String);
 };
 
 #endif