]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/interpretation-context-handle.hh
* flower
[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 #ifndef INTERPRETATION_CONTEXT_HANDLE_HH
10 #define INTERPRETATION_CONTEXT_HANDLE_HH
11 #include "lily-proto.hh"
12
13 /*
14   RENAME ME to Context_handle.
15 */
16
17 class Interpretation_context_handle
18 {
19 public:
20   ~Interpretation_context_handle ();
21   Interpretation_context_handle ();
22
23   void set_context (Context *);
24   bool try_music (Music *);
25   void operator= (Interpretation_context_handle const &);
26   Interpretation_context_handle (Interpretation_context_handle const &);
27   Context *get_outlet () const;
28
29   int get_count () const;
30   void quit ();
31 private:
32   Context *outlet_;
33   void down ();
34   void up (Context *);
35 };
36
37 #endif /* INTERPRETATION_CONTEXT_HANDLE_HH */
38