source file of the GNU LilyPond music typesetter
- (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "interpretation-context-handle.hh"
-#include "translator-group.hh"
+#include "context.hh"
Interpretation_context_handle::Interpretation_context_handle ()
{
up (s.outlet_);
}
-Interpretation_context_handle*
-Interpretation_context_handle::clone () const
-{
- Interpretation_context_handle* handle = new Interpretation_context_handle;
- handle->outlet_ = this->outlet_;
- return handle;
-}
Interpretation_context_handle::~Interpretation_context_handle ()
{
}
void
-Interpretation_context_handle::up (Translator_group*t)
+Interpretation_context_handle::up (Context *t)
{
outlet_ = t;
t->iterator_count_ ++;
}
void
-Interpretation_context_handle::set_translator (Translator_group*trans)
+Interpretation_context_handle::set_translator (Context *trans)
{
if (outlet_ ==trans)
return;
up (trans);
}
-Translator_group*
+Context *
Interpretation_context_handle::get_outlet () const
{