notification support using libportal

This commit is contained in:
Julian Winkler
2024-03-17 11:05:42 +01:00
parent b14549e639
commit 45de09a191
9 changed files with 286 additions and 19 deletions

View File

@@ -0,0 +1,37 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class android_app_NotificationManager */
#ifndef _Included_android_app_NotificationManager
#define _Included_android_app_NotificationManager
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: android_app_NotificationManager
* Method: nativeInitBuilder
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_android_app_NotificationManager_nativeInitBuilder
(JNIEnv *, jobject);
/*
* Class: android_app_NotificationManager
* Method: nativeAddAction
* Signature: (JLjava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_android_app_NotificationManager_nativeAddAction
(JNIEnv *, jobject, jlong, jstring, jint, jstring, jstring);
/*
* Class: android_app_NotificationManager
* Method: nativeShowNotification
* Signature: (JILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_android_app_NotificationManager_nativeShowNotification
(JNIEnv *, jobject, jlong, jint, jstring, jstring, jint, jstring, jstring);
#ifdef __cplusplus
}
#endif
#endif