]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/apply-context-iterator.cc
*** empty log message ***
[lilypond.git] / lily / apply-context-iterator.cc
index 3b42c54fcb081e2df06ffd010dff030e11ba4a99..38036708c0dd867c0f966b0c4929032cd1f3093e 100644 (file)
@@ -1,5 +1,5 @@
 #include "simple-music-iterator.hh"
-#include "translator-group.hh"
+#include "context.hh"
 #include "music.hh"
 
 /**
@@ -8,8 +8,7 @@
 class Apply_context_iterator : public Simple_music_iterator
 {
 public:
-  VIRTUAL_COPY_CONS (Music_iterator);
-  DECLARE_SCHEME_CALLBACK(constructor, ());
+  DECLARE_SCHEME_CALLBACK (constructor, ());
 protected:
   virtual void process (Moment);
 };
@@ -18,11 +17,11 @@ protected:
 void
 Apply_context_iterator::process (Moment m)
 {
-  SCM proc = get_music ()->get_mus_property ("procedure");
+  SCM proc = get_music ()->get_property ("procedure");
 
-  scm_call_1 (proc, report_to()->self_scm());
+  scm_call_1 (proc, get_outlet ()->self_scm ());
   
-  Simple_music_iterator::process(m);
+  Simple_music_iterator::process (m);
 }
 
 IMPLEMENT_CTOR_CALLBACK (Apply_context_iterator);