]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/interpretation-context-handle.hh
2003 -> 2004
[lilypond.git] / lily / include / interpretation-context-handle.hh
1 /*   
2   interpretation-context-handle.hh -- declare  Interpretation_context_handle
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef INTERPRETATION_CONTEXT_HANDLE_HH
11 #define INTERPRETATION_CONTEXT_HANDLE_HH
12 #include "lily-proto.hh"
13
14 class Interpretation_context_handle
15 {
16 public:
17   ~Interpretation_context_handle ();
18   Interpretation_context_handle ();
19   Interpretation_context_handle* clone () const;
20   void set_translator (Translator_group*);
21   bool try_music (Music *);
22   void operator = (Interpretation_context_handle const&);
23   Interpretation_context_handle (Interpretation_context_handle const&);
24   Translator_group * get_outlet () const;
25
26   int get_count () const;
27   void quit ();
28 private:
29   Translator_group * outlet_;
30   void down ();
31   void up (Translator_group*);
32 };
33
34 #endif /* INTERPRETATION_CONTEXT_HANDLE_HH */
35