#ifndef MUSIC_ITERATOR_HH
#define MUSIC_ITERATOR_HH
-#include "lily-proto.hh"
#include "array.hh"
#include "moment.hh"
#include "virtual-methods.hh"
#include "interpretation-context-handle.hh"
-#include "smobs.hh"
/**
---
*/
Context * get_outlet () const;
- void set_translator (Context *);
+ void set_context (Context *);
/** Get an iterator matching the type of MUS, and use TRANS to find
an accompanying translation unit
virtual bool run_always () const;
virtual void process (Moment until);
- virtual void derived_mark ()const;
+ virtual void derived_mark () const;
virtual void construct_children ();
/**
Music * music_;
};
+bool is_child_context (Context *me, Context *child);
#define IMPLEMENT_CTOR_CALLBACK(Class) \
LY_DEFINE_MEMBER_FUNCTION(Class,constructor, #Class "::constructor",\
0,0,0,\
(),\
- "Construct a @code{" #Class "} music iterator")\
+ "")\
{ \
SCM val = (new Class)->self_scm(); \
scm_gc_unprotect_object (val);\