]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/auto-change-iterator.hh
* VERSION (MY_PATCH_LEVEL): make 1.7.0
[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--2002 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   DECLARE_SCHEME_CALLBACK(constructor, ());
21   
22   Auto_change_iterator ();
23
24 protected:
25   virtual void process (Moment);  
26   Array<Pitch> pending_pitch (Moment)const;
27 private:
28   Direction where_dir_;
29   void change_to (Music_iterator* , String, String);
30 };
31
32 #endif /* AUTO_CHANGE_ITERATOR_HH */