]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/auto-change-iterator.hh
patch::: 1.3.86.jcn1
[lilypond.git] / lily / include / auto-change-iterator.hh
1 /*   
2   auto-change-iterator.hh -- declare Auto_change_iterator
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef AUTO_CHANGE_ITERATOR_HH
11 #define AUTO_CHANGE_ITERATOR_HH
12
13 #include "music-wrapper-iterator.hh"
14 #include "direction.hh"
15
16 class Auto_change_iterator : public Music_wrapper_iterator
17 {
18 public:
19   VIRTUAL_COPY_CONS (Music_iterator);
20   Auto_change_iterator ();
21
22 protected:
23   virtual void do_process_and_next (Moment);  
24
25 private:
26   Direction where_dir_;
27   void change_to (Music_iterator* , String, String);
28 };
29
30 #endif /* AUTO_CHANGE_ITERATOR_HH */