]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/interpretation-context-handle.hh
(do_alignment): don't translate if
[lilypond.git] / lily / include / interpretation-context-handle.hh
index 80db970f4549487f85750bd2eb6a49fb592f47b6..c2aa89734e0e561abf8bed27541b7acd3ce2d965 100644 (file)
@@ -1,33 +1,36 @@
-/*   
+/*
   interpretation-context-handle.hh -- declare  Interpretation_context_handle
-  
+
   source file of the GNU LilyPond music typesetter
-  
-  (c)  1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+
+  (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+*/
 
 #ifndef INTERPRETATION_CONTEXT_HANDLE_HH
 #define INTERPRETATION_CONTEXT_HANDLE_HH
 #include "lily-proto.hh"
 
+/*
+  RENAME ME to Context_handle.
+*/
+
 class Interpretation_context_handle
 {
 public:
   ~Interpretation_context_handle ();
   Interpretation_context_handle ();
-  Interpretation_context_handle* clone () const;
-  void set_translator (Translator_group*);
+
+  void set_context (Context *);
   bool try_music (Music *);
-  void operator = (Interpretation_context_handle const&);
-  Interpretation_context_handle (Interpretation_context_handle const&);
-  Translator_group * report_to () const;
+  void operator = (Interpretation_context_handle const &);
+  Interpretation_context_handle (Interpretation_context_handle const &);
+  Context *get_outlet () const;
 
-  void quit ();
+  int get_count () const;
 private:
-  Translator_group * report_to_;
+  Context *outlet_;
   void down ();
-  void up (Translator_group*);
+  void up (Context *);
 };
 
 #endif /* INTERPRETATION_CONTEXT_HANDLE_HH */