-
Notifications
You must be signed in to change notification settings - Fork 0
/
OpenHMD-Java.h
101 lines (89 loc) · 2.09 KB
/
OpenHMD-Java.h
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class OpenHMD */
#ifndef _Included_OpenHMD
#define _Included_OpenHMD
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: OpenHMD
* Method: ohmd_ctx_create
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_OpenHMD_ohmd_1ctx_1create
(JNIEnv *, jclass);
/*
* Class: OpenHMD
* Method: ohmd_ctx_destroy
* Signature: (J)V
*/
JNIEXPORT void JNICALL Java_OpenHMD_ohmd_1ctx_1destroy
(JNIEnv *, jclass, jlong);
/*
* Class: OpenHMD
* Method: ohmd_ctx_get_error
* Signature: (J)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_OpenHMD_ohmd_1ctx_1get_1error
(JNIEnv *, jclass, jlong);
/*
* Class: OpenHMD
* Method: ohmd_ctx_update
* Signature: (J)V
*/
JNIEXPORT void JNICALL Java_OpenHMD_ohmd_1ctx_1update
(JNIEnv *, jclass, jlong);
/*
* Class: OpenHMD
* Method: ohmd_ctx_probe
* Signature: (J)I
*/
JNIEXPORT jint JNICALL Java_OpenHMD_ohmd_1ctx_1probe
(JNIEnv *, jclass, jlong);
/*
* Class: OpenHMD
* Method: ohmd_list_gets
* Signature: (JII)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_OpenHMD_ohmd_1list_1gets
(JNIEnv *, jclass, jlong, jint, jint);
/*
* Class: OpenHMD
* Method: ohmd_list_open_device
* Signature: (JI)J
*/
JNIEXPORT jlong JNICALL Java_OpenHMD_ohmd_1list_1open_1device
(JNIEnv *, jclass, jlong, jint);
/*
* Class: OpenHMD
* Method: ohmd_close_device
* Signature: (J)I
*/
JNIEXPORT jint JNICALL Java_OpenHMD_ohmd_1close_1device
(JNIEnv *, jclass, jlong);
/*
* Class: OpenHMD
* Method: ohmd_device_getf
* Signature: (JI)[F
*/
JNIEXPORT jfloatArray JNICALL Java_OpenHMD_ohmd_1device_1getf
(JNIEnv *, jclass, jlong, jint);
/*
* Class: OpenHMD
* Method: ohmd_device_setf
* Signature: (JI[F)I
*/
JNIEXPORT jint JNICALL Java_OpenHMD_ohmd_1device_1setf
(JNIEnv *, jclass, jlong, jint, jfloatArray);
/*
* Class: OpenHMD
* Method: ohmd_device_geti
* Signature: (JI)[I
*/
JNIEXPORT jintArray JNICALL Java_OpenHMD_ohmd_1device_1geti
(JNIEnv *, jclass, jlong, jint);
#ifdef __cplusplus
}
#endif
#endif