summaryrefslogtreecommitdiff
path: root/libjava/javax/sound/midi/ShortMessage.h
blob: 7a5872cd8ec08e81a0fc33d98d200d1ed50f42ba (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
61
62
63
64
65
66
67
68
69
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_sound_midi_ShortMessage__
#define __javax_sound_midi_ShortMessage__

#pragma interface

#include <javax/sound/midi/MidiMessage.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace sound
    {
      namespace midi
      {
          class ShortMessage;
      }
    }
  }
}

class javax::sound::midi::ShortMessage : public ::javax::sound::midi::MidiMessage
{

public:
  ShortMessage();
public: // actually protected
  ShortMessage(JArray< jbyte > *);
public:
  virtual void setMessage(jint, jint, jint);
  virtual void setMessage(jint, jint, jint, jint);
  virtual void setMessage(jint);
public: // actually protected
  virtual jint getDataLength(jint);
public:
  virtual jint getChannel();
  virtual jint getCommand();
  virtual jint getData1();
  virtual jint getData2();
  virtual ::java::lang::Object * clone();
  static const jint MIDI_TIME_CODE = 241;
  static const jint SONG_POSITION_POINTER = 242;
  static const jint SONG_SELECT = 243;
  static const jint TUNE_REQUEST = 246;
  static const jint END_OF_EXCLUSIVE = 247;
  static const jint TIMING_CLOCK = 248;
  static const jint START = 250;
  static const jint CONTINUE = 251;
  static const jint STOP = 252;
  static const jint ACTIVE_SENSING = 254;
  static const jint SYSTEM_RESET = 255;
  static const jint NOTE_OFF = 128;
  static const jint NOTE_ON = 144;
  static const jint POLY_PRESSURE = 160;
  static const jint CONTROL_CHANGE = 176;
  static const jint PROGRAM_CHANGE = 192;
  static const jint CHANNEL_PRESSURE = 208;
  static const jint PITCH_BEND = 224;
private:
  static JArray< jbyte > * defaultMessage;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_sound_midi_ShortMessage__