From 2ca4ae367bad4f5f481a3b1e15d58cf298b6cbf7 Mon Sep 17 00:00:00 2001 From: Michael Pfaff Date: Mon, 12 Sep 2022 11:08:09 -0400 Subject: [PATCH] Add more missing headers --- .../org_lwjgl_opengl_MacOSXCanvasPeerInfo.h | 37 +++++++ ...lwjgl_opengl_MacOSXContextImplementation.h | 101 ++++++++++++++++++ .../org_lwjgl_opengl_MacOSXNativeKeyboard.h | 31 ++++++ .../org_lwjgl_opengl_MacOSXNativeMouse.h | 75 +++++++++++++ .../org_lwjgl_opengl_MacOSXPbufferPeerInfo.h | 29 +++++ .../macosx/org_lwjgl_opengl_MacOSXPeerInfo.h | 37 +++++++ 6 files changed, 310 insertions(+) create mode 100644 src/native/macosx/org_lwjgl_opengl_MacOSXCanvasPeerInfo.h create mode 100644 src/native/macosx/org_lwjgl_opengl_MacOSXContextImplementation.h create mode 100644 src/native/macosx/org_lwjgl_opengl_MacOSXNativeKeyboard.h create mode 100644 src/native/macosx/org_lwjgl_opengl_MacOSXNativeMouse.h create mode 100644 src/native/macosx/org_lwjgl_opengl_MacOSXPbufferPeerInfo.h create mode 100644 src/native/macosx/org_lwjgl_opengl_MacOSXPeerInfo.h diff --git a/src/native/macosx/org_lwjgl_opengl_MacOSXCanvasPeerInfo.h b/src/native/macosx/org_lwjgl_opengl_MacOSXCanvasPeerInfo.h new file mode 100644 index 00000000..1128cbba --- /dev/null +++ b/src/native/macosx/org_lwjgl_opengl_MacOSXCanvasPeerInfo.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include +/* Header for class org_lwjgl_opengl_MacOSXCanvasPeerInfo */ + +#ifndef _Included_org_lwjgl_opengl_MacOSXCanvasPeerInfo +#define _Included_org_lwjgl_opengl_MacOSXCanvasPeerInfo +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: org_lwjgl_opengl_MacOSXCanvasPeerInfo + * Method: nInitHandle + * Signature: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;ZZII)Ljava/nio/ByteBuffer; + */ +JNIEXPORT jobject JNICALL Java_org_lwjgl_opengl_MacOSXCanvasPeerInfo_nInitHandle + (JNIEnv *, jclass, jobject, jobject, jobject, jboolean, jboolean, jint, jint); + +/* + * Class: org_lwjgl_opengl_MacOSXCanvasPeerInfo + * Method: nSetLayerPosition + * Signature: (Ljava/nio/ByteBuffer;II)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXCanvasPeerInfo_nSetLayerPosition + (JNIEnv *, jclass, jobject, jint, jint); + +/* + * Class: org_lwjgl_opengl_MacOSXCanvasPeerInfo + * Method: nSetLayerBounds + * Signature: (Ljava/nio/ByteBuffer;IIII)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXCanvasPeerInfo_nSetLayerBounds + (JNIEnv *, jclass, jobject, jint, jint, jint, jint); + +#ifdef __cplusplus +} +#endif +#endif diff --git a/src/native/macosx/org_lwjgl_opengl_MacOSXContextImplementation.h b/src/native/macosx/org_lwjgl_opengl_MacOSXContextImplementation.h new file mode 100644 index 00000000..b7e3b7c2 --- /dev/null +++ b/src/native/macosx/org_lwjgl_opengl_MacOSXContextImplementation.h @@ -0,0 +1,101 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include +/* Header for class org_lwjgl_opengl_MacOSXContextImplementation */ + +#ifndef _Included_org_lwjgl_opengl_MacOSXContextImplementation +#define _Included_org_lwjgl_opengl_MacOSXContextImplementation +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: nCreate + * Signature: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; + */ +JNIEXPORT jobject JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nCreate + (JNIEnv *, jclass, jobject, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: getCGLShareGroup + * Signature: (Ljava/nio/ByteBuffer;)J + */ +JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_getCGLShareGroup + (JNIEnv *, jobject, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: nSwapBuffers + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nSwapBuffers + (JNIEnv *, jclass, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: nUpdate + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nUpdate + (JNIEnv *, jclass, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: nReleaseCurrentContext + * Signature: ()V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nReleaseCurrentContext + (JNIEnv *, jclass); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: clearDrawable + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_clearDrawable + (JNIEnv *, jclass, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: setView + * Signature: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_setView + (JNIEnv *, jclass, jobject, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: nMakeCurrent + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nMakeCurrent + (JNIEnv *, jclass, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: nIsCurrent + * Signature: (Ljava/nio/ByteBuffer;)Z + */ +JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nIsCurrent + (JNIEnv *, jclass, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: nSetSwapInterval + * Signature: (Ljava/nio/ByteBuffer;I)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nSetSwapInterval + (JNIEnv *, jclass, jobject, jint); + +/* + * Class: org_lwjgl_opengl_MacOSXContextImplementation + * Method: nDestroy + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nDestroy + (JNIEnv *, jclass, jobject); + +#ifdef __cplusplus +} +#endif +#endif diff --git a/src/native/macosx/org_lwjgl_opengl_MacOSXNativeKeyboard.h b/src/native/macosx/org_lwjgl_opengl_MacOSXNativeKeyboard.h new file mode 100644 index 00000000..249476d4 --- /dev/null +++ b/src/native/macosx/org_lwjgl_opengl_MacOSXNativeKeyboard.h @@ -0,0 +1,31 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include +/* Header for class org_lwjgl_opengl_MacOSXNativeKeyboard */ + +#ifndef _Included_org_lwjgl_opengl_MacOSXNativeKeyboard +#define _Included_org_lwjgl_opengl_MacOSXNativeKeyboard +#ifdef __cplusplus +extern "C" { +#endif +#undef org_lwjgl_opengl_MacOSXNativeKeyboard_QUEUE_SIZE +#define org_lwjgl_opengl_MacOSXNativeKeyboard_QUEUE_SIZE 200L +/* + * Class: org_lwjgl_opengl_MacOSXNativeKeyboard + * Method: nRegisterKeyListener + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXNativeKeyboard_nRegisterKeyListener + (JNIEnv *, jobject, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXNativeKeyboard + * Method: nUnregisterKeyListener + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXNativeKeyboard_nUnregisterKeyListener + (JNIEnv *, jobject, jobject); + +#ifdef __cplusplus +} +#endif +#endif diff --git a/src/native/macosx/org_lwjgl_opengl_MacOSXNativeMouse.h b/src/native/macosx/org_lwjgl_opengl_MacOSXNativeMouse.h new file mode 100644 index 00000000..1d6784a3 --- /dev/null +++ b/src/native/macosx/org_lwjgl_opengl_MacOSXNativeMouse.h @@ -0,0 +1,75 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include +/* Header for class org_lwjgl_opengl_MacOSXNativeMouse */ + +#ifndef _Included_org_lwjgl_opengl_MacOSXNativeMouse +#define _Included_org_lwjgl_opengl_MacOSXNativeMouse +#ifdef __cplusplus +extern "C" { +#endif +#undef org_lwjgl_opengl_MacOSXNativeMouse_QUEUE_SIZE +#define org_lwjgl_opengl_MacOSXNativeMouse_QUEUE_SIZE 200L +#undef org_lwjgl_opengl_MacOSXNativeMouse_WHEEL_SCALE +#define org_lwjgl_opengl_MacOSXNativeMouse_WHEEL_SCALE 120L +#undef org_lwjgl_opengl_MacOSXNativeMouse_NUM_BUTTONS +#define org_lwjgl_opengl_MacOSXNativeMouse_NUM_BUTTONS 3L +/* + * Class: org_lwjgl_opengl_MacOSXNativeMouse + * Method: nSetCursorPosition + * Signature: (Ljava/nio/ByteBuffer;II)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXNativeMouse_nSetCursorPosition + (JNIEnv *, jobject, jobject, jint, jint); + +/* + * Class: org_lwjgl_opengl_MacOSXNativeMouse + * Method: nGrabMouse + * Signature: (Z)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXNativeMouse_nGrabMouse + (JNIEnv *, jclass, jboolean); + +/* + * Class: org_lwjgl_opengl_MacOSXNativeMouse + * Method: nRegisterMouseListener + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXNativeMouse_nRegisterMouseListener + (JNIEnv *, jobject, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXNativeMouse + * Method: nUnregisterMouseListener + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXNativeMouse_nUnregisterMouseListener + (JNIEnv *, jobject, jobject); + +/* + * Class: org_lwjgl_opengl_MacOSXNativeMouse + * Method: nCreateCursor + * Signature: (IIIIILjava/nio/IntBuffer;ILjava/nio/IntBuffer;I)J + */ +JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_MacOSXNativeMouse_nCreateCursor + (JNIEnv *, jclass, jint, jint, jint, jint, jint, jobject, jint, jobject, jint); + +/* + * Class: org_lwjgl_opengl_MacOSXNativeMouse + * Method: nDestroyCursor + * Signature: (J)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXNativeMouse_nDestroyCursor + (JNIEnv *, jclass, jlong); + +/* + * Class: org_lwjgl_opengl_MacOSXNativeMouse + * Method: nSetCursor + * Signature: (J)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXNativeMouse_nSetCursor + (JNIEnv *, jclass, jlong); + +#ifdef __cplusplus +} +#endif +#endif diff --git a/src/native/macosx/org_lwjgl_opengl_MacOSXPbufferPeerInfo.h b/src/native/macosx/org_lwjgl_opengl_MacOSXPbufferPeerInfo.h new file mode 100644 index 00000000..7af9bdc0 --- /dev/null +++ b/src/native/macosx/org_lwjgl_opengl_MacOSXPbufferPeerInfo.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include +/* Header for class org_lwjgl_opengl_MacOSXPbufferPeerInfo */ + +#ifndef _Included_org_lwjgl_opengl_MacOSXPbufferPeerInfo +#define _Included_org_lwjgl_opengl_MacOSXPbufferPeerInfo +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: org_lwjgl_opengl_MacOSXPbufferPeerInfo + * Method: nCreate + * Signature: (Ljava/nio/ByteBuffer;II)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXPbufferPeerInfo_nCreate + (JNIEnv *, jclass, jobject, jint, jint); + +/* + * Class: org_lwjgl_opengl_MacOSXPbufferPeerInfo + * Method: nDestroy + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXPbufferPeerInfo_nDestroy + (JNIEnv *, jclass, jobject); + +#ifdef __cplusplus +} +#endif +#endif diff --git a/src/native/macosx/org_lwjgl_opengl_MacOSXPeerInfo.h b/src/native/macosx/org_lwjgl_opengl_MacOSXPeerInfo.h new file mode 100644 index 00000000..0fcd3d38 --- /dev/null +++ b/src/native/macosx/org_lwjgl_opengl_MacOSXPeerInfo.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include +/* Header for class org_lwjgl_opengl_MacOSXPeerInfo */ + +#ifndef _Included_org_lwjgl_opengl_MacOSXPeerInfo +#define _Included_org_lwjgl_opengl_MacOSXPeerInfo +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: org_lwjgl_opengl_MacOSXPeerInfo + * Method: createHandle + * Signature: ()Ljava/nio/ByteBuffer; + */ +JNIEXPORT jobject JNICALL Java_org_lwjgl_opengl_MacOSXPeerInfo_createHandle + (JNIEnv *, jclass); + +/* + * Class: org_lwjgl_opengl_MacOSXPeerInfo + * Method: nChoosePixelFormat + * Signature: (Ljava/nio/ByteBuffer;Lorg/lwjgl/opengl/PixelFormat;ZZZZZ)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXPeerInfo_nChoosePixelFormat + (JNIEnv *, jclass, jobject, jobject, jboolean, jboolean, jboolean, jboolean, jboolean); + +/* + * Class: org_lwjgl_opengl_MacOSXPeerInfo + * Method: nDestroy + * Signature: (Ljava/nio/ByteBuffer;)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXPeerInfo_nDestroy + (JNIEnv *, jclass, jobject); + +#ifdef __cplusplus +} +#endif +#endif