mirror of https://github.com/buggins/dlangui.git
Fix broken build
This commit is contained in:
parent
6650581653
commit
9e831ea0aa
|
@ -1,5 +1,7 @@
|
||||||
module dlangui.platforms.android.imm;
|
module dlangui.platforms.android.imm;
|
||||||
|
|
||||||
|
version(Android):
|
||||||
|
|
||||||
import jni;
|
import jni;
|
||||||
import android.android_native_app_glue;
|
import android.android_native_app_glue;
|
||||||
import android.input;
|
import android.input;
|
||||||
|
@ -35,7 +37,6 @@ private enum : IMMFlags
|
||||||
* JNI wrapper used with native actitiy to show/hide software keyboard
|
* JNI wrapper used with native actitiy to show/hide software keyboard
|
||||||
* It relies on java reflection and it might be slow.
|
* It relies on java reflection and it might be slow.
|
||||||
*/
|
*/
|
||||||
version(Android)
|
|
||||||
void showSoftKeyboard(android_app* app, bool shouldShow)
|
void showSoftKeyboard(android_app* app, bool shouldShow)
|
||||||
{
|
{
|
||||||
// The code is based on https://stackoverflow.com/questions/5864790/how-to-show-the-soft-keyboard-on-native-activity
|
// The code is based on https://stackoverflow.com/questions/5864790/how-to-show-the-soft-keyboard-on-native-activity
|
||||||
|
|
Loading…
Reference in New Issue