1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Clean up OS-specific initialization

This commit is contained in:
sfan5 2023-12-19 21:41:48 +01:00
parent ad5e9aa5e3
commit 93c2aff2cf
5 changed files with 84 additions and 98 deletions

View file

@ -36,16 +36,6 @@ extern android_app *app_global;
// java <-> c++ interaction interface
extern JNIEnv *jnienv;
// do initialization required on android only
void initAndroid();
void cleanupAndroid();
/**
* Initializes path_* variables for Android
*/
void initializePathsAndroid();
/**
* show text input dialog in java
* @param acceptButton text to display on accept button
@ -57,8 +47,6 @@ void initializePathsAndroid();
void showInputDialog(const std::string &acceptButton,
const std::string &hint, const std::string &current, int editType);
void openURIAndroid(const std::string &url);
/**
* Opens a share intent to the file at path
*