-
Notifications
You must be signed in to change notification settings - Fork 0
/
xframes-wrapper.h
32 lines (26 loc) · 1.79 KB
/
xframes-wrapper.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
#ifndef XFRAMES_WRAPPER_H
#define XFRAMES_WRAPPER_H
#include <jni.h>
#include <stdio.h>
#include <stdbool.h>
#include <xframes-runner.h>
#ifdef __cplusplus
extern "C" {
#endif
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_resizeWindow(JNIEnv *env, jobject obj, jint width, jint height);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_setElement(JNIEnv *env, jobject obj, jstring elementJson);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_patchElement(JNIEnv *env, jobject obj, jint id, jstring elementJson);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_elementInternalOp(JNIEnv *env, jobject obj, jint id, jstring elementJson);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_setChildren(JNIEnv *env, jobject obj, jint id, jstring childrenIds);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_appendChild(JNIEnv *env, jobject obj, jint parentId, jint childId);
JNIEXPORT jstring JNICALL Java_dev_xframes_XFramesWrapper_getChildren(JNIEnv *env, jobject obj, jint id);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_appendTextToClippedMultiLineTextRenderer(JNIEnv *env, jobject obj, jint id, jstring data);
JNIEXPORT jstring JNICALL Java_dev_xframes_XFramesWrapper_getStyle(JNIEnv *env, jobject obj);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_patchStyle(JNIEnv *env, jobject obj, jstring styleDef);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_setDebug(JNIEnv *env, jobject obj, jboolean debug);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_showDebugWindow(JNIEnv *env, jobject obj);
JNIEXPORT void JNICALL Java_dev_xframes_XFramesWrapper_init(JNIEnv *env, jobject obj, jstring assetsBasePath, jstring rawFontDefinitions, jstring rawStyleOverrideDefinitions, jobject allCallbacks);
#ifdef __cplusplus
}
#endif
#endif // XFRAMES_WRAPPER_H