refactor Dialog implementation to support custom content

This commit is contained in:
Julian Winkler
2023-08-23 10:32:29 +02:00
parent 029b26beb2
commit 0f7548f189
7 changed files with 106 additions and 73 deletions

View File

@@ -0,0 +1,45 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class android_app_Dialog */
#ifndef _Included_android_app_Dialog
#define _Included_android_app_Dialog
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: android_app_Dialog
* Method: nativeInit
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_android_app_Dialog_nativeInit
(JNIEnv *, jobject);
/*
* Class: android_app_Dialog
* Method: nativeSetTitle
* Signature: (JLjava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_android_app_Dialog_nativeSetTitle
(JNIEnv *, jobject, jlong, jstring);
/*
* Class: android_app_Dialog
* Method: nativeSetContentView
* Signature: (JJ)V
*/
JNIEXPORT void JNICALL Java_android_app_Dialog_nativeSetContentView
(JNIEnv *, jobject, jlong, jlong);
/*
* Class: android_app_Dialog
* Method: nativeShow
* Signature: (J)V
*/
JNIEXPORT void JNICALL Java_android_app_Dialog_nativeShow
(JNIEnv *, jobject, jlong);
#ifdef __cplusplus
}
#endif
#endif