blob: 15518ac73ccb3a470a471d6a268d87156e959fa6 (
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
|
// 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__
|