]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/midi-walker.hh
*** empty log message ***
[lilypond.git] / lily / include / midi-walker.hh
index 5f9e9e602f9db967a57f1a7ff34c5221e2fff2b3..a01add8f1e1d41daa337111893747abae3adf941 100644 (file)
@@ -1,7 +1,7 @@
 /*
   midi-walker.hh -- declare Midi_walker
 
-  (c) 1996--2005 Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+  (c) 1996--2006 Han-Wen Nienhuys  <hanwen@xs4all.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
@@ -12,7 +12,7 @@
 #include "lily-proto.hh"
 #include "moment.hh"
 
-struct Midi_note_event : PQueue_ent < Moment, Midi_note *>
+struct Midi_note_event : PQueue_ent<Moment, Midi_note *>
 {
   bool ignore_b_;
   Midi_note_event ();
@@ -30,7 +30,7 @@ public:
   ~Midi_walker ();
 
   void process ();
-  void operator++ (int);
+  void operator ++ (int);
   bool ok () const;
 
 private:
@@ -40,8 +40,8 @@ private:
 
   Midi_track *track_;
   Audio_staff *staff_;
-  int index_;
-  Link_array<Audio_item> * items_;
+  vsize index_;
+  vector<Audio_item*> *items_;
   PQueue<Midi_note_event> stop_note_queue;
   Moment last_mom_;
 };