path to game get through jni

report
root 10 years ago
parent 406cf2b981
commit 4e756a2f4a

@ -0,0 +1,19 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
#ifndef _Included_org_libsdl_app_SDLActivity_getPathToJni
#define _Included_org_libsdl_app_SDLActivity_getPathToJni
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: Java_org_libsdl_app_SDLActivity_getPathToJni
* Method: getPathToJni
* Signature: (I)I
*/
JNIEXPORT void JNICALL Java_org_libsdl_app_SDLActivity_getPathToJni(JNIEnv *env, jobject obj, jstring prompt);
#ifdef __cplusplus
}
#endif
#endif

@ -7,12 +7,17 @@
/** /**
* \namespace Files * \namespace Files
*/ */
namespace Files namespace Files
{ {
class getJniPath{
public: const char *getPathFromJni;
};
struct AndroidPath struct AndroidPath
{ {
AndroidPath(const std::string& application_name); AndroidPath(const std::string& application_name);
/** /**
* \brief Return path to the user directory. * \brief Return path to the user directory.

Loading…
Cancel
Save