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:
parent
ad5e9aa5e3
commit
93c2aff2cf
5 changed files with 84 additions and 98 deletions
|
@ -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 ¤t, int editType);
|
||||
|
||||
void openURIAndroid(const std::string &url);
|
||||
|
||||
/**
|
||||
* Opens a share intent to the file at path
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue