]> 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--2005 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 /*
15 RENAME ME to Context_handle.
16 */
17    
18 class Interpretation_context_handle
19 {
20 public:
21   ~Interpretation_context_handle ();
22   Interpretation_context_handle ();
23
24   void set_context (Context *);
25   bool try_music (Music *);
26   void operator = (Interpretation_context_handle const&);
27   Interpretation_context_handle (Interpretation_context_handle const&);
28   Context * get_outlet () const;
29
30   int get_count () const;
31   void quit ();
32 private:
33   Context * outlet_;
34   void down ();
35   void up (Context *);
36 };
37
38 #endif /* INTERPRETATION_CONTEXT_HANDLE_HH */
39