mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
This is the initial release of aFreeRDP the FreeRDP Android client. For build instructions have a look to docs/README.android.
28 lines
965 B
C
28 lines
965 B
C
/**
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
|
* Android JNI Callback Helpers
|
|
*
|
|
* Copyright 2010-2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
* Copyright 2011-2013 Thinstuff Technologies GmbH, Author: Martin Fleisz
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#ifndef FREERDP_ANDROID_JNI_CALLBACK_H
|
|
#define FREERDP_ANDROID_JNI_CALLBACK_H
|
|
|
|
#include <jni.h>
|
|
#include <stdarg.h>
|
|
|
|
jint init_callback_environment(JavaVM* vm);
|
|
jboolean jni_attach_thread(JNIEnv** env);
|
|
void jni_detach_thread();
|
|
void freerdp_callback(const char * callback, const char * signature, ...);
|
|
jboolean freerdp_callback_bool_result(const char * callback, const char * signature, ...);
|
|
void tsxconnect_callback(const char * callback, const char * signature, ...);
|
|
|
|
#endif /* FREERDP_ANDROID_JNI_CALLBACK_H */
|
|
|