aboutsummaryrefslogtreecommitdiff
path: root/src/nodetimer.cpp
diff options
context:
space:
mode:
authorWuzzy <Wuzzy2@mail.ru>2021-04-02 15:59:28 +0200
committersfan5 <sfan5@live.de>2021-04-09 22:34:18 +0200
commit8c7e214875c811b8e7ff8473b020498af4fbbafe (patch)
treef8d26cae2d5f042fb091f184e5b4a885ffb28b73 /src/nodetimer.cpp
parente89e6c8380ba5dc865f94b1cb4e6fd7e96369436 (diff)
downloadminetest-8c7e214875c811b8e7ff8473b020498af4fbbafe.tar.gz
minetest-8c7e214875c811b8e7ff8473b020498af4fbbafe.tar.bz2
minetest-8c7e214875c811b8e7ff8473b020498af4fbbafe.zip
Update builtin locale files
Diffstat (limited to 'src/nodetimer.cpp')
0 files changed, 0 insertions, 0 deletions
ation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #ifndef __ANDROID__ #error this include has to be included on android port only! #endif #include <jni.h> #include <android_native_app_glue.h> #include <android/log.h> #include <string> namespace porting { // java app 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 * @param env Android JNI environment */ void initializePathsAndroid(); /** * show text input dialog in java * @param acceptButton text to display on accept button * @param hint hint to show * @param current initial value to display * @param editType type of texfield * (1==multiline text input; 2==single line text input; 3=password field) */ void showInputDialog(const std::string &acceptButton, const std::string &hint, const std::string &current, int editType); void openURIAndroid(const std::string &url); /** * WORKAROUND for not working callbacks from java -> c++ * get current state of input dialog */ int getInputDialogState(); /** * WORKAROUND for not working callbacks from java -> c++ * get text in current input dialog */ std::string getInputDialogValue(); #ifndef SERVER float getDisplayDensity(); v2u32 getDisplaySize(); #endif }