]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/context-handle.hh
Run `make grand-replace'.
[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--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef CONTEXT_HANDLE_HH
10 #define CONTEXT_HANDLE_HH
11
12 #include "lily-proto.hh"
13
14
15 class Context_handle
16 {
17 public:
18   ~Context_handle ();
19   Context_handle ();
20
21   void set_context (Context *);
22   void operator = (Context_handle const &);
23   Context_handle (Context_handle const &);
24   Context *get_outlet () const;
25
26   int get_count () const;
27 private:
28   Context *outlet_;
29   void down ();
30   void up (Context *);
31 };
32
33 #endif /* CONTEXT_HANDLE_HH */
34