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"
16 class Stream_event : public Prob
20 VIRTUAL_COPY_CONSTRUCTOR (Stream_event, Stream_event);
21 // todo: remove unneeded constructors
22 Stream_event (SCM event_class, SCM mutable_props);
23 Stream_event (SCM property_alist);
24 Stream_event (SCM class_name, Input *);
25 Stream_event (Stream_event *ev);
27 Input *origin () const;
28 void set_spot (Input *i);
29 bool internal_in_event_class (SCM class_name);
31 DECLARE_SCHEME_CALLBACK (undump, (SCM));
32 DECLARE_SCHEME_CALLBACK (dump, (SCM));
36 #define in_event_class(class_name) internal_in_event_class (ly_symbol2scm (class_name))
38 Stream_event *unsmob_stream_event (SCM);
39 DECLARE_TYPE_P (Stream_event);
41 #endif /* STREAM_EVENT_HH */