* The grand 2005-2006 replace.
[lilypond/patrick.git] / lily / include / context-handle.hh
blobea7e255809e96422619b6729d8322b5e9e86938a
1 /*
2 context-handle.hh -- declare Context_handle
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #ifndef INTERPRETATION_CONTEXT_HANDLE_HH
10 #define INTERPRETATION_CONTEXT_HANDLE_HH
11 #include "lily-proto.hh"
14 Rename me to Context_handle.
17 class Context_handle
19 public:
20 ~Context_handle ();
21 Context_handle ();
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;
29 int get_count () const;
30 private:
31 Context *outlet_;
32 void down ();
33 void up (Context *);
36 #endif /* INTERPRETATION_CONTEXT_HANDLE_HH */