]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/context-handle.hh
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / include / context-handle.hh
1 /*
2   context-handle.hh -- declare  Context_handle
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.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 Context_handle
18 {
19 public:
20   ~Context_handle ();
21   Context_handle ();
22
23   void set_context (Context *);
24   bool try_music (Music *);
25   void operator = (Context_handle const &);
26   Context_handle (Context_handle const &);
27   Context *get_outlet () const;
28
29   int get_count () const;
30 private:
31   Context *outlet_;
32   void down ();
33   void up (Context *);
34 };
35
36 #endif /* INTERPRETATION_CONTEXT_HANDLE_HH */
37