]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/unfolded-repeat-iterator.hh
release: 1.3.92
[lilypond.git] / lily / include / unfolded-repeat-iterator.hh
index 6ffdbb62aaf790969d2cc594b339b303907afa21..3aa3ceae325354e73d2cbaf7f041a17d187042e0 100644 (file)
@@ -18,6 +18,8 @@
  */
 class Unfolded_repeat_iterator : public Music_iterator
 {
+  void add_repeat_command (SCM);
+
 public:
   VIRTUAL_COPY_CONS (Music_iterator);
   /**
@@ -25,17 +27,16 @@ public:
    */
   int done_count_;
 
+  /*
+    are we now busy doing the body?
 
-  /// unfold everything, or do volta?
-  bool full_unfold_b_;
-  
-  /// are we busy doing the body?
+   */
   bool do_main_b_;
 
   /** How far have we progressed into the repeat.
       This excludes the elt currently being iterated.
   */
-  Moment done_mom_;
+  Moment here_mom_;
   int alternative_count_i_;
   Music_iterator * current_iter_p_;
   
@@ -44,15 +45,16 @@ public:
   ~Unfolded_repeat_iterator();
   Unfolded_repeat_iterator ();
 
-
 protected:  
   virtual void construct_children ();
   virtual Moment pending_moment () const;
   virtual void process (Moment);
   virtual Music_iterator *try_music_in_children (Music *) const;
-
+  virtual void skip (Moment);
+  virtual SCM get_music (Moment) const;
+  
   virtual bool ok () const;
-  virtual void next_element ();
+  virtual void next_element (bool side_effect);
 };
 #endif /* UNFOLDED_REPEAT_ITERATOR_HH */