forked from mirror/openmw-tes3mp
path to game get through jni
This commit is contained in:
parent
406cf2b981
commit
4e756a2f4a
2 changed files with 25 additions and 1 deletions
19
components/files/androidpath.h
Normal file
19
components/files/androidpath.h
Normal file
|
@ -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
|
||||
{
|
||||
|
||||
class getJniPath{
|
||||
public: const char *getPathFromJni;
|
||||
};
|
||||
struct AndroidPath
|
||||
{
|
||||
AndroidPath(const std::string& application_name);
|
||||
|
||||
|
||||
/**
|
||||
* \brief Return path to the user directory.
|
||||
|
|
Loading…
Reference in a new issue