X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstream-event.hh;h=1a9fdd017df15583708f0450ba12dcbfac862c8c;hb=a4cc26c32b822769ce54c72d94a93936195d3eb9;hp=991e6723090a26b9f040870270c5fe9f07e8c838;hpb=cc676c5aadd45985251b5d60fa23eed1ed98f6e6;p=lilypond.git diff --git a/lily/include/stream-event.hh b/lily/include/stream-event.hh index 991e672309..1a9fdd017d 100644 --- a/lily/include/stream-event.hh +++ b/lily/include/stream-event.hh @@ -1,9 +1,20 @@ /* - stream-event.hh -- declare Stream_event + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2011 Erik Sandberg - (c) 2005-2006 Erik Sandberg + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef STREAM_EVENT_HH @@ -18,24 +29,23 @@ class Stream_event : public Prob public: Stream_event (); VIRTUAL_COPY_CONSTRUCTOR (Stream_event, Stream_event); - // todo: remove unneeded constructors - Stream_event (SCM event_class, SCM mutable_props); - Stream_event (SCM property_alist); + + Stream_event (SCM event_class, SCM mutable_props = SCM_EOL); Stream_event (SCM class_name, Input *); - Stream_event (Stream_event *ev); 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)); - }; #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 */