2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_sound_midi_ShortMessage__
5 #define __javax_sound_midi_ShortMessage__
9 #include <javax/sound/midi/MidiMessage.h>
10 #include <gcj/array.h>
26 class javax::sound::midi::ShortMessage
: public ::javax::sound::midi::MidiMessage
31 public: // actually protected
32 ShortMessage(JArray
< jbyte
> *);
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
);
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;
64 static JArray
< jbyte
> * defaultMessage
;
66 static ::java::lang::Class
class$
;
69 #endif // __javax_sound_midi_ShortMessage__