X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fevent-chord-iterator.hh;h=307f5ba0c61cf546ddcd3ae0b2b4a77135f05852;hb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;hp=c65a9dedcc9d50560b17702c00cf3321d33389ee;hpb=17a0be44b562c72ccfebf2bef4a7a6fcc07bd02f;p=lilypond.git diff --git a/lily/include/event-chord-iterator.hh b/lily/include/event-chord-iterator.hh index c65a9dedcc..307f5ba0c6 100644 --- a/lily/include/event-chord-iterator.hh +++ b/lily/include/event-chord-iterator.hh @@ -1,13 +1,13 @@ /* - event-iter.hh -- declare Event_chord_iterator + event-chord-iterator.hh -- declare Event_chord_iterator source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ -#ifndef EVENT_ITER_HH -#define EVENT_ITER_HH +#ifndef EVENT_CHORD_ITERATOR_HH +#define EVENT_CHORD_ITERATOR_HH #include "simple-music-iterator.hh" @@ -19,14 +19,7 @@ class Event_chord_iterator : public Simple_music_iterator /** Find a bottom notation context to deliver events to. */ - virtual Context *get_bottom_context (); - - /* - Since Event_chord_iterator has no list-cursor internally, we - must use a status variable to adminstrate where we are */ - - enum { NONE_DONE, START_DONE, END_DONE } - status_; + DECLARE_CLASSNAME(Event_chord_iterator); public: DECLARE_SCHEME_CALLBACK (constructor, ()); @@ -38,4 +31,4 @@ protected: virtual void construct_children (); }; -#endif // EVENT_ITER_HH +#endif // EVENT_CHORD_ITERATOR_HH