// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_sound_midi_Track__
#define __javax_sound_midi_Track__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace javax
  {
    namespace sound
    {
      namespace midi
      {
        class Track;
        class MidiEvent;
      }
    }
  }
}

class javax::sound::midi::Track : public ::java::lang::Object
{
public:
  virtual jboolean add (::javax::sound::midi::MidiEvent *);
  virtual jboolean remove (::javax::sound::midi::MidiEvent *);
  virtual ::javax::sound::midi::MidiEvent *get (jint);
  virtual jint size ();
  virtual jlong ticks ();
  Track ();
public:  // actually protected
  ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object )))) events;
private:
  ::java::util::HashSet *eventSet;
public:

  static ::java::lang::Class class$;
};

#endif /* __javax_sound_midi_Track__ */
