]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/request-iterator.hh
15640ccd74735c26356e3db8bf60c3a7da4808bb
[lilypond.git] / lily / include / request-iterator.hh
1 /*
2   request-iter.hh -- declare Request_chord_iterator
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef REQUEST_ITER_HH
11 #define REQUEST_ITER_HH
12
13 #include "music-iterator.hh"
14
15 class Request_chord_iterator : public Music_iterator {
16   const Request_chord * elt_l_;
17   Moment elt_duration_;
18   bool last_b_;
19 public:
20   Request_chord_iterator (Request_chord*);
21   DECLARE_MY_RUNTIME_TYPEINFO;
22
23 protected:
24   virtual void process_and_next (Moment);
25   virtual Moment next_moment() const;
26   virtual void construct_children();
27   virtual bool ok() const;
28   virtual void do_print() const;
29 };
30
31
32 #endif // REQUEST_ITER_HH