-class Auto_change_iterator : public Music_wrapper_iterator
-{
-public:
- DECLARE_SCHEME_CALLBACK(constructor, ());
-
- Auto_change_iterator ();
-
-protected:
- virtual void construct_children ();
- virtual void process (Moment);
- Array<Pitch> pending_pitch (Moment)const;
-private:
- SCM split_list_;
- Direction where_dir_;
- void change_to (Music_iterator* , SCM, String);
-};
-
-
-
-void
-Auto_change_iterator::change_to (Music_iterator *it, SCM to_type_sym,
- String to_id)
-{
- Translator_group * current = it->get_outlet ();
- Translator_group * last = 0;
-
- /*
- Cut & Paste from Change_iterator (ugh).
+ 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.