]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/auto-change-iterator.hh
536da00e826a03d2318ab556c65639df833d5230
[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--2001 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   static SCM constructor_cxx_function;
21   
22   Auto_change_iterator ();
23
24 protected:
25   virtual void process (Moment);  
26
27
28   Array<Pitch> pending_pitch (Moment)const;
29 private:
30
31   
32   Direction where_dir_;
33   void change_to (Music_iterator* , String, String);
34 };
35
36 #endif /* AUTO_CHANGE_ITERATOR_HH */