Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / javax / sound / midi / ShortMessage.h
blob7a5872cd8ec08e81a0fc33d98d200d1ed50f42ba
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_sound_midi_ShortMessage__
5 #define __javax_sound_midi_ShortMessage__
7 #pragma interface
9 #include <javax/sound/midi/MidiMessage.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace javax
16 namespace sound
18 namespace midi
20 class ShortMessage;
26 class javax::sound::midi::ShortMessage : public ::javax::sound::midi::MidiMessage
29 public:
30 ShortMessage();
31 public: // actually protected
32 ShortMessage(JArray< jbyte > *);
33 public:
34 virtual void setMessage(jint, jint, jint);
35 virtual void setMessage(jint, jint, jint, jint);
36 virtual void setMessage(jint);
37 public: // actually protected
38 virtual jint getDataLength(jint);
39 public:
40 virtual jint getChannel();
41 virtual jint getCommand();
42 virtual jint getData1();
43 virtual jint getData2();
44 virtual ::java::lang::Object * clone();
45 static const jint MIDI_TIME_CODE = 241;
46 static const jint SONG_POSITION_POINTER = 242;
47 static const jint SONG_SELECT = 243;
48 static const jint TUNE_REQUEST = 246;
49 static const jint END_OF_EXCLUSIVE = 247;
50 static const jint TIMING_CLOCK = 248;
51 static const jint START = 250;
52 static const jint CONTINUE = 251;
53 static const jint STOP = 252;
54 static const jint ACTIVE_SENSING = 254;
55 static const jint SYSTEM_RESET = 255;
56 static const jint NOTE_OFF = 128;
57 static const jint NOTE_ON = 144;
58 static const jint POLY_PRESSURE = 160;
59 static const jint CONTROL_CHANGE = 176;
60 static const jint PROGRAM_CHANGE = 192;
61 static const jint CHANNEL_PRESSURE = 208;
62 static const jint PITCH_BEND = 224;
63 private:
64 static JArray< jbyte > * defaultMessage;
65 public:
66 static ::java::lang::Class class$;
69 #endif // __javax_sound_midi_ShortMessage__