]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/output-property-music-iterator.cc
2003 -> 2004
[lilypond.git] / lily / output-property-music-iterator.cc
index a6e096d46e24e10e9c644ea8936b10e80d27d5b2..fc76c976d4d8fd70734318ce25996221e535f3d8 100644 (file)
@@ -3,12 +3,21 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000--2002 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2000--2004 Jan Nieuwenhuizen <janneke@gnu.org>
  */
 
 #include "input.hh"
 #include "music-list.hh"
-#include "output-property-music-iterator.hh"
+#include "simple-music-iterator.hh"
+
+class Output_property_music_iterator : public Simple_music_iterator
+{
+public:  
+  DECLARE_SCHEME_CALLBACK(constructor, ());
+protected:
+  virtual void process (Moment);
+};
+
 
 void
 Output_property_music_iterator::process (Moment m)
@@ -17,11 +26,10 @@ Output_property_music_iterator::process (Moment m)
     {
       bool accepted = try_music (get_music ());
       if (!accepted)
-       get_music ()->origin ()->warning (_f ("Junking request: `%s'",
+       get_music ()->origin ()->warning (_f ("Junking event: `%s'",
                                          classname (get_music ())));
     }
-
-  skip (m);
+  Simple_music_iterator::process (m);
 }
 
 IMPLEMENT_CTOR_CALLBACK (Output_property_music_iterator);