X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Ftime-scaled-music-iterator.hh;h=3985e0b0eae4dfa71452a5f70be7e70f8a239e75;hb=60daf523bf18da7f805f4b050135ab0838161cf6;hp=5c2763293ea1ba0d280ee6bee254d68d811da432;hpb=94189ec2b8da6d7e89dc619c646a927adead9b19;p=lilypond.git diff --git a/lily/include/time-scaled-music-iterator.hh b/lily/include/time-scaled-music-iterator.hh index 5c2763293e..3985e0b0ea 100644 --- a/lily/include/time-scaled-music-iterator.hh +++ b/lily/include/time-scaled-music-iterator.hh @@ -1,27 +1,38 @@ -/* - compressed-music-iterator.hh -- declare Time_scaled_music_iterator - - source file of the GNU LilyPond music typesetter - - (c) 1998--2001 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. -#ifndef Time_scaled_music_ITERATOR_HH -#define Time_scaled_music_ITERATOR_HH + Copyright (C) 1998--2012 Han-Wen Nienhuys , + Erik Sandberg -#include "music-wrapper-iterator.hh" + 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. -class Time_scaled_music_iterator : public Music_wrapper_iterator + 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 TIME_SCALED_MUSIC_ITERATOR_HH +#define TIME_SCALED_MUSIC_ITERATOR_HH + +#include "sequential-iterator.hh" + +class Time_scaled_music_iterator : public Sequential_iterator { -public: - VIRTUAL_COPY_CONS (Music_iterator); - static SCM constructor_cxx_function; +public: + DECLARE_SCHEME_CALLBACK (constructor, ()); /* construction */ + DECLARE_CLASSNAME (Time_scaled_music_iterator); + Time_scaled_music_iterator (); protected: - virtual void process (Moment); + virtual SCM get_music_list () const; +private: }; - -#endif /* Time_scaled_music_ITERATOR_HH */ - +#endif /* TIME_SCALED_MUSIC_ITERATOR_HH */