2025-01-29 10:55:49 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
2026-06-09 12:45:01 -07:00
|
|
|
#include <Android/android_native_app_glue.h>
|
2025-01-29 10:55:49 +01:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// name in usual Java syntax (points, no slashes)
|
|
|
|
|
jclass kinc_android_find_class(JNIEnv *env, const char *name);
|
|
|
|
|
|
|
|
|
|
ANativeActivity *kinc_android_get_activity(void);
|
|
|
|
|
|
|
|
|
|
AAssetManager *kinc_android_get_asset_manager(void);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|