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

#ifndef __gnu_javax_sound_midi_alsa_AlsaPortDevice__
#define __gnu_javax_sound_midi_alsa_AlsaPortDevice__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace sound
      {
        namespace midi
        {
          namespace alsa
          {
              class AlsaMidiDeviceProvider$AlsaPortInfo;
              class AlsaPortDevice;
          }
        }
      }
    }
  }
  namespace javax
  {
    namespace sound
    {
      namespace midi
      {
          class MidiDevice$Info;
          class Receiver;
          class Transmitter;
      }
    }
  }
}

class gnu::javax::sound::midi::alsa::AlsaPortDevice : public ::java::lang::Object
{

public:
  AlsaPortDevice(::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo *);
  virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo();
public: // actually package-private
  virtual void run_receiver_thread_(jlong, jlong, ::javax::sound::midi::Receiver *);
public:
  virtual void open() = 0;
  virtual void close() = 0;
  virtual jboolean isOpen() = 0;
  virtual jlong getMicrosecondPosition() = 0;
  virtual jint getMaxReceivers() = 0;
  virtual jint getMaxTransmitters() = 0;
  virtual ::javax::sound::midi::Receiver * getReceiver() = 0;
  virtual ::javax::sound::midi::Transmitter * getTransmitter() = 0;
public: // actually package-private
  ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo * __attribute__((aligned(__alignof__( ::java::lang::Object)))) info;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_sound_midi_alsa_AlsaPortDevice__
