]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/interpretation-context-handle.hh
*** empty log message ***
[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
20   void set_translator (Context *);
21   bool try_music (Music *);
22   void operator = (Interpretation_context_handle const&);
23   Interpretation_context_handle (Interpretation_context_handle const&);
24   Context * get_outlet () const;
25
26   int get_count () const;
27   void quit ();
28 private:
29   Context * outlet_;
30   void down ();
31   void up (Context *);
32 };
33
34 #endif /* INTERPRETATION_CONTEXT_HANDLE_HH */
35