summaryrefslogtreecommitdiff
path: root/libjava/javax/sound/midi/MidiSystem.h
blob: 487b9d6de8e162f62efc99fe16c6f9c9817aea38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_sound_midi_MidiSystem__
#define __javax_sound_midi_MidiSystem__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace net
    {
        class URL;
    }
  }
  namespace javax
  {
    namespace sound
    {
      namespace midi
      {
          class MidiDevice;
          class MidiDevice$Info;
          class MidiFileFormat;
          class MidiSystem;
          class Receiver;
          class Sequence;
          class Sequencer;
          class Soundbank;
          class Synthesizer;
          class Transmitter;
      }
    }
  }
}

class javax::sound::midi::MidiSystem : public ::java::lang::Object
{

  MidiSystem();
public:
  static JArray< ::javax::sound::midi::MidiDevice$Info * > * getMidiDeviceInfo();
  static ::javax::sound::midi::MidiDevice * getMidiDevice(::javax::sound::midi::MidiDevice$Info *);
  static ::javax::sound::midi::Receiver * getReceiver();
  static ::javax::sound::midi::Transmitter * getTransmitter();
  static ::javax::sound::midi::Synthesizer * getSynthesizer();
  static ::javax::sound::midi::Sequencer * getSequencer();
  static ::javax::sound::midi::Soundbank * getSoundbank(::java::io::InputStream *);
  static ::javax::sound::midi::Soundbank * getSoundbank(::java::net::URL *);
  static ::javax::sound::midi::Soundbank * getSoundbank(::java::io::File *);
  static ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::InputStream *);
  static ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::net::URL *);
  static ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::File *);
  static ::javax::sound::midi::Sequence * getSequence(::java::io::InputStream *);
  static ::javax::sound::midi::Sequence * getSequence(::java::net::URL *);
  static ::javax::sound::midi::Sequence * getSequence(::java::io::File *);
  static JArray< jint > * getMidiFileTypes();
  static jboolean isFileTypeSupported(jint);
  static JArray< jint > * getMidiFileTypes(::javax::sound::midi::Sequence *);
  static jboolean isFileTypeSupported(jint, ::javax::sound::midi::Sequence *);
  static jint write(::javax::sound::midi::Sequence *, jint, ::java::io::OutputStream *);
  static jint write(::javax::sound::midi::Sequence *, jint, ::java::io::File *);
  static ::java::lang::Class class$;
};

#endif // __javax_sound_midi_MidiSystem__