diff options
author | Alexander Tkachev | 2016-07-19 18:43:00 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | a13e03e988f85a67366f2ffe39bae67576e425bc (patch) | |
tree | 5c41114e9bc54ca203877c76d48bb245d1b653c0 /backends/platform/android/jni.h | |
parent | 0c1c274abdbdb4183d9a08669082227aa912b1ea (diff) | |
download | scummvm-rg350-a13e03e988f85a67366f2ffe39bae67576e425bc.tar.gz scummvm-rg350-a13e03e988f85a67366f2ffe39bae67576e425bc.tar.bz2 scummvm-rg350-a13e03e988f85a67366f2ffe39bae67576e425bc.zip |
CLOUD: Add Networking::Connection::isLimited()
`false` everywhere by default, but works on Android (`true` if not
Wi-Fi).
Diffstat (limited to 'backends/platform/android/jni.h')
-rw-r--r-- | backends/platform/android/jni.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/android/jni.h b/backends/platform/android/jni.h index de4c95bd76..0798db448a 100644 --- a/backends/platform/android/jni.h +++ b/backends/platform/android/jni.h @@ -59,6 +59,7 @@ public: static void getDPI(float *values); static void displayMessageOnOSD(const char *msg); static bool openUrl(const char *url); + static bool isConnectionLimited(); static void showVirtualKeyboard(bool enable); static void addSysArchivesToSearchSet(Common::SearchSet &s, int priority); @@ -91,6 +92,7 @@ private: static jmethodID _MID_getDPI; static jmethodID _MID_displayMessageOnOSD; static jmethodID _MID_openUrl; + static jmethodID _MID_isConnectionLimited; static jmethodID _MID_setWindowCaption; static jmethodID _MID_showVirtualKeyboard; static jmethodID _MID_getSysArchives; |