]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/interpretation-context-handle.cc
(Page layout): add
[lilypond.git] / lily / interpretation-context-handle.cc
index b617aa7544bfca6949565f24c12070c94e77cc14..e7af7e85bf80e72af605114684153c2bc2efe895 100644 (file)
@@ -3,11 +3,11 @@
   
   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 ()
 {
@@ -21,13 +21,6 @@ Interpretation_context_handle::Interpretation_context_handle (Interpretation_con
     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 ()
 {
@@ -42,7 +35,7 @@ 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_ ++;
@@ -78,7 +71,7 @@ Interpretation_context_handle::operator = (Interpretation_context_handle const &
 }
 
 void
-Interpretation_context_handle::set_translator (Translator_group*trans)
+Interpretation_context_handle::set_translator (Context *trans)
 {
   if (outlet_ ==trans)
     return;
@@ -88,7 +81,7 @@ Interpretation_context_handle::set_translator (Translator_group*trans)
     up (trans);
 }
 
-Translator_group*
+Context *
 Interpretation_context_handle::get_outlet () const
 {