X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstream-event.hh;h=ebdc17925cc576dcce8f1e22deadc4ec6afd5e1e;hb=5a2370dfbd5957e86ce03b84914cc08216e29ffe;hp=0ac1b4712fc91bf53288e9cc714b49b8b27c00c1;hpb=8e58d9bf219537b7c6655319d7e57e417b435d51;p=lilypond.git diff --git a/lily/include/stream-event.hh b/lily/include/stream-event.hh index 0ac1b4712f..ebdc17925c 100644 --- a/lily/include/stream-event.hh +++ b/lily/include/stream-event.hh @@ -17,20 +17,25 @@ class Stream_event : public Prob { public: Stream_event (); + VIRTUAL_COPY_CONSTRUCTOR (Stream_event, Stream_event); + + Stream_event (SCM event_class, SCM mutable_props=SCM_EOL); + Stream_event (SCM class_name, Input *); + Input *origin () const; void set_spot (Input *i); + bool internal_in_event_class (SCM class_name); + + virtual SCM copy_mutable_properties () const; DECLARE_SCHEME_CALLBACK (undump, (SCM)); DECLARE_SCHEME_CALLBACK (dump, (SCM)); - - // todo: remove unneeded constructors - Stream_event (SCM event_class, SCM mutable_props); - Stream_event (SCM property_alist); - Stream_event (SCM class_name, Input *); - Stream_event (Stream_event *ev); }; +#define in_event_class(class_name) internal_in_event_class (ly_symbol2scm (class_name)) + Stream_event *unsmob_stream_event (SCM); DECLARE_TYPE_P (Stream_event); +SCM ly_event_deep_copy (SCM); #endif /* STREAM_EVENT_HH */