]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/time-scaled-music-iterator.hh
Run grand-replace (issue 3765)
[lilypond.git] / lily / include / time-scaled-music-iterator.hh
index 2ddcdf298c2fbb1f8b41bd6f49af134836cf6d4d..83e234bb7af8b7f790642739adacaca634b04e62 100644 (file)
@@ -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 <hanwen@cs.uu.nl>
-  
- */
+/*
+  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 <hanwen@xs4all.nl>,
+                 Erik Sandberg <mandolaerik@gmail.com>
 
-#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 <http://www.gnu.org/licenses/>.
+*/
+
+#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 */