2 stream-event.hh -- declare Stream_event
4 source file of the GNU LilyPond music typesetter
6 (c) 2005-2006 Erik Sandberg <mandolaerik@gmail.com>
9 #ifndef STREAM_EVENT_HH
10 #define STREAM_EVENT_HH
12 #include "lily-proto.hh"
24 Input *origin () const;
25 void set_spot (Input *i);
27 DECLARE_SCHEME_CALLBACK (undump, (SCM));
28 DECLARE_SCHEME_CALLBACK (dump, (SCM));
30 // todo: remove unneeded constructors
31 Stream_event (SCM property_alist);
32 Stream_event (SCM class_name, Input *);
33 Stream_event (Stream_event *ev);
35 SCM internal_get_property (SCM) const;
36 void internal_set_property (SCM prop, SCM val);
39 DECLARE_SMOBS (Stream_event,);
42 DECLARE_UNSMOB (Stream_event, stream_event);
43 DECLARE_TYPE_P (Stream_event);
45 #endif /* STREAM_EVENT_HH */