X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftime-scaled-music-iterator.hh;h=83e234bb7af8b7f790642739adacaca634b04e62;hb=9e781b7dc83b60a543ce218aa1a5f139f74c760f;hp=2ddcdf298c2fbb1f8b41bd6f49af134836cf6d4d;hpb=d9b43b93f2c885409bafdb157138158f65cc49aa;p=lilypond.git diff --git a/lily/include/time-scaled-music-iterator.hh b/lily/include/time-scaled-music-iterator.hh index 2ddcdf298c..83e234bb7a 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--2002 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--2014 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 */