summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/sound/midi/file
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/sound/midi/file
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/gnu/javax/sound/midi/file')
-rw-r--r--libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h42
-rw-r--r--libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h39
-rw-r--r--libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h40
-rw-r--r--libjava/gnu/javax/sound/midi/file/MidiFileReader.h62
-rw-r--r--libjava/gnu/javax/sound/midi/file/MidiFileWriter.h60
5 files changed, 243 insertions, 0 deletions
diff --git a/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h b/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h
new file mode 100644
index 000000000..70a8a4c2e
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__
+#define __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__
+
+#pragma interface
+
+#include <javax/sound/midi/MidiFileFormat.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class ExtendedMidiFileFormat;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::ExtendedMidiFileFormat : public ::javax::sound::midi::MidiFileFormat
+{
+
+public:
+ virtual jint getNumberTracks();
+ ExtendedMidiFileFormat(jint, jfloat, jint, jint, jlong, jint);
+private:
+ jint __attribute__((aligned(__alignof__( ::javax::sound::midi::MidiFileFormat)))) ntracks;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__
diff --git a/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h b/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h
new file mode 100644
index 000000000..00d247284
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_MidiDataInputStream__
+#define __gnu_javax_sound_midi_file_MidiDataInputStream__
+
+#pragma interface
+
+#include <java/io/DataInputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class MidiDataInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::MidiDataInputStream : public ::java::io::DataInputStream
+{
+
+public:
+ MidiDataInputStream(::java::io::InputStream *);
+ virtual jint readVariableLengthInt();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_MidiDataInputStream__
diff --git a/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h b/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h
new file mode 100644
index 000000000..70718fc2a
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_MidiDataOutputStream__
+#define __gnu_javax_sound_midi_file_MidiDataOutputStream__
+
+#pragma interface
+
+#include <java/io/DataOutputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class MidiDataOutputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::MidiDataOutputStream : public ::java::io::DataOutputStream
+{
+
+public:
+ MidiDataOutputStream(::java::io::OutputStream *);
+ virtual jint variableLengthIntLength(jint);
+ virtual void writeVariableLengthInt(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_MidiDataOutputStream__
diff --git a/libjava/gnu/javax/sound/midi/file/MidiFileReader.h b/libjava/gnu/javax/sound/midi/file/MidiFileReader.h
new file mode 100644
index 000000000..823ead637
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/MidiFileReader.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_MidiFileReader__
+#define __gnu_javax_sound_midi_file_MidiFileReader__
+
+#pragma interface
+
+#include <javax/sound/midi/spi/MidiFileReader.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class MidiFileReader;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiFileFormat;
+ class Sequence;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::MidiFileReader : public ::javax::sound::midi::spi::MidiFileReader
+{
+
+public:
+ MidiFileReader();
+ virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::InputStream *);
+ virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::net::URL *);
+ virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::File *);
+ virtual ::javax::sound::midi::Sequence * getSequence(::java::io::InputStream *);
+ virtual ::javax::sound::midi::Sequence * getSequence(::java::net::URL *);
+ virtual ::javax::sound::midi::Sequence * getSequence(::java::io::File *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_MidiFileReader__
diff --git a/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h b/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h
new file mode 100644
index 000000000..15518ac73
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_MidiFileWriter__
+#define __gnu_javax_sound_midi_file_MidiFileWriter__
+
+#pragma interface
+
+#include <javax/sound/midi/spi/MidiFileWriter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class MidiDataOutputStream;
+ class MidiFileWriter;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class Sequence;
+ class Track;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::MidiFileWriter : public ::javax::sound::midi::spi::MidiFileWriter
+{
+
+public:
+ MidiFileWriter();
+ virtual JArray< jint > * getMidiFileTypes();
+ virtual JArray< jint > * getMidiFileTypes(::javax::sound::midi::Sequence *);
+ virtual jint write(::javax::sound::midi::Sequence *, jint, ::java::io::OutputStream *);
+private:
+ jint computeTrackLength(::javax::sound::midi::Track *, ::gnu::javax::sound::midi::file::MidiDataOutputStream *);
+ jint writeTrack(::javax::sound::midi::Track *, ::gnu::javax::sound::midi::file::MidiDataOutputStream *);
+public:
+ virtual jint write(::javax::sound::midi::Sequence *, jint, ::java::io::File *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_MidiFileWriter__