Added SDL_IsChromebook() to determine if we're running on a Chromebook.

This commit is contained in:
Sam Lantinga 2018-06-05 12:46:13 -07:00
parent 971e77801b
commit c05c926eca
5 changed files with 27 additions and 1 deletions

View file

@ -125,6 +125,11 @@ extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity(void);
*/
extern DECLSPEC SDL_bool SDLCALL SDL_IsAndroidTV(void);
/**
\brief Return true if the application is running on a Chromebook
*/
extern DECLSPEC SDL_bool SDLCALL SDL_IsChromebook(void);
/**
See the official Android developer guide for more information:
http://developer.android.com/guide/topics/data/data-storage.html