+#include "repeated-music.hh"
+#include "sequential-iterator.hh"
+#include "lily-imports.hh"
+
+class Percent_repeat_iterator : public Sequential_iterator
+{
+public:
+ DECLARE_CLASSNAME (Percent_repeat_iterator);
+ DECLARE_SCHEME_CALLBACK (constructor, ());
+ Percent_repeat_iterator ();
+protected:
+ virtual SCM get_music_list () const;
+ virtual void construct_children ();
+ virtual void next_element (bool);
+ virtual void derived_mark () const;
+private:
+ SCM child_list_;
+ int starting_bar_;
+};