X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fsequential-iterator.hh;h=6c09ae3d09b0df9147c3de188fbc87f7c00639d6;hb=e7aa6c445f463844dbaa52d38ea4aac2882b5601;hp=c3e5c277a7a781e5a6cdf2a5a67b2643d7232a62;hpb=bdf4ab13203502e7ec7cf9cf5896527643a07c1f;p=lilypond.git diff --git a/lily/include/sequential-iterator.hh b/lily/include/sequential-iterator.hh index c3e5c277a7..6c09ae3d09 100644 --- a/lily/include/sequential-iterator.hh +++ b/lily/include/sequential-iterator.hh @@ -1,9 +1,20 @@ /* - sequential-iterator.hh -- declare Sequential_iterator + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2002--2014 Han-Wen Nienhuys - (c) 2002--2005 Han-Wen Nienhuys + 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 SEQUENTIAL_ITERATOR_HH @@ -19,6 +30,7 @@ class Sequential_iterator : public Music_iterator { public: DECLARE_SCHEME_CALLBACK (constructor, ()); + DECLARE_CLASSNAME (Sequential_iterator); Sequential_iterator (); Sequential_iterator (Sequential_iterator const &); virtual void derived_substitute (Context *f, Context *t); @@ -32,11 +44,12 @@ public: protected: virtual void process (Moment); - virtual Music_iterator *try_music_in_children (Music *) const; virtual bool run_always () const; + protected: Music_iterator *iter_; - virtual SCM get_music_list ()const; + + virtual SCM get_music_list () const; virtual void next_element (bool side_effect); Grace_fixup *get_grace_fixup () const;