]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/scheme-listener.hh
c95347202cd69c15716518e6a0bf5ddc5243c31a
[lilypond.git] / lily / include / scheme-listener.hh
1 /*
2   scheme-listener.hh -- Declare Scheme_listener
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2006--2007 Erik Sandberg  <mandolaerik@gmail.com>
7 */
8
9 #ifndef SCHEME_LISTENER_HH
10 #define SCHEME_LISTENER_HH
11
12 #include "listener.hh"
13 #include "ly-smobs.icc"
14
15 /*
16  Scheme_listener is only used internally by scheme-listener-scheme.cc
17 */
18
19 class Scheme_listener
20 {
21 public:
22   Scheme_listener (SCM callback);
23   DECLARE_LISTENER (call);
24 protected:
25   DECLARE_SMOBS (Scheme_listener);
26 private:
27   SCM callback_;
28 };
29
30 #endif /* SCHEME_LISTENER_HH */