src/core/android/SDL_android.h
changeset 12255 d2e5d4520677
parent 12242 df7260f149f2
child 12313 8451760ff7b3
     1.1 --- a/src/core/android/SDL_android.h	Sat Sep 29 01:24:10 2018 +0300
     1.2 +++ b/src/core/android/SDL_android.h	Fri Sep 28 20:39:57 2018 -0700
     1.3 @@ -19,6 +19,7 @@
     1.4    3. This notice may not be removed or altered from any source distribution.
     1.5  */
     1.6  #include "../../SDL_internal.h"
     1.7 +#include "SDL_system.h"
     1.8  
     1.9  /* Set up for C function definitions, even when using C++ */
    1.10  #ifdef __cplusplus
    1.11 @@ -53,6 +54,10 @@
    1.12  extern void Android_JNI_FlushCapturedAudio(void);
    1.13  extern void Android_JNI_CloseAudioDevice(const int iscapture);
    1.14  
    1.15 +/* Detecting device type */
    1.16 +extern SDL_bool Android_IsDeXMode();
    1.17 +extern SDL_bool Android_IsChromebook();
    1.18 +
    1.19  #include "SDL_rwops.h"
    1.20  
    1.21  int Android_JNI_FileOpen(SDL_RWops* ctx, const char* fileName, const char* mode);