00001
00002 #include <jni.h>
00003
00004
00005 #ifndef _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiClient
00006 #define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiClient
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010
00011
00012
00013
00014
00015 JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiClient_createClient
00016 (JNIEnv *, jobject, jstring);
00017
00018
00019
00020
00021
00022
00023 JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiClient_disposeClient
00024 (JNIEnv *, jobject, jint);
00025
00026 #ifdef __cplusplus
00027 }
00028 #endif
00029 #endif
00030
00031
00032 #ifndef _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDestination
00033 #define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDestination
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037
00038
00039
00040
00041
00042 JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDestination_getMicroSecondTime
00043 (JNIEnv *, jobject);
00044
00045 #ifdef __cplusplus
00046 }
00047 #endif
00048 #endif
00049
00050
00051 #ifndef _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider
00052 #define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider
00053 #ifdef __cplusplus
00054 extern "C" {
00055 #endif
00056 #undef uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_DEVICE_MAP_SIZE
00057 #define uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_DEVICE_MAP_SIZE 20L
00058
00059
00060
00061
00062
00063 JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getNumberOfSources
00064 (JNIEnv *, jobject);
00065
00066
00067
00068
00069
00070
00071 JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getNumberOfDestinations
00072 (JNIEnv *, jobject);
00073
00074
00075
00076
00077
00078
00079 JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getSource
00080 (JNIEnv *, jobject, jint);
00081
00082
00083
00084
00085
00086
00087 JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getDestination
00088 (JNIEnv *, jobject, jint);
00089
00090
00091
00092
00093
00094
00095 JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getUniqueID
00096 (JNIEnv *, jobject, jint);
00097
00098
00099
00100
00101
00102
00103 JNIEXPORT jobject JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getMidiDeviceInfo
00104 (JNIEnv *, jobject, jint);
00105
00106 #ifdef __cplusplus
00107 }
00108 #endif
00109 #endif
00110
00111
00112 #ifndef _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_MidiProperties
00113 #define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_MidiProperties
00114 #ifdef __cplusplus
00115 extern "C" {
00116 #endif
00117 #ifdef __cplusplus
00118 }
00119 #endif
00120 #endif
00121
00122
00123 #ifndef _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort
00124 #define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort
00125 #ifdef __cplusplus
00126 extern "C" {
00127 #endif
00128
00129
00130
00131
00132
00133 JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_createInputPort
00134 (JNIEnv *, jobject, jint, jstring);
00135
00136
00137
00138
00139
00140
00141 JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_midiPortConnectSource
00142 (JNIEnv *, jobject, jint, jobject);
00143
00144
00145
00146
00147
00148
00149 JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_midiPortDisconnectSource
00150 (JNIEnv *, jobject, jint, jlong, jobject);
00151
00152 #ifdef __cplusplus
00153 }
00154 #endif
00155 #endif
00156
00157
00158 #ifndef _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort
00159 #define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort
00160 #ifdef __cplusplus
00161 extern "C" {
00162 #endif
00163
00164
00165
00166
00167
00168 JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort_createOutputPort
00169 (JNIEnv *, jobject, jint, jstring);
00170
00171
00172
00173
00174
00175
00176 JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort_sendMidiMessage
00177 (JNIEnv *, jobject, jint, jint, jobject, jlong);
00178
00179 #ifdef __cplusplus
00180 }
00181 #endif
00182 #endif
00183
00184
00185 #ifndef _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiSource
00186 #define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiSource
00187 #ifdef __cplusplus
00188 extern "C" {
00189 #endif
00190
00191
00192
00193
00194
00195 JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiSource_getMicroSecondTime
00196 (JNIEnv *, jobject);
00197
00198 #ifdef __cplusplus
00199 }
00200 #endif
00201 #endif