ShortMessage.h 1.7 KB

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