SDL: new method SDL_ANDROID_RestartMyself() that will restart current app

This commit is contained in:
Sergii Pylypenko
2015-06-25 23:07:25 +03:00
parent c026bea0bb
commit 97c256b03d
5 changed files with 27 additions and 0 deletions

View File

@@ -123,6 +123,9 @@ extern DECLSPEC void SDLCALL SDL_ANDROID_OpenExternalApp(const char *package, co
/* Open an Android web browser, or Chrome, or Youtube for video links. Just a wrapper for SDL_ANDROID_OpenExternalApp(NULL, NULL, url) */
extern DECLSPEC void SDLCALL SDL_ANDROID_OpenExternalWebBrowser(const char *url);
/* Restart current app, you can pass a string to the new app instance, which can be retrieved with getenv("SDL_RESTART_PARAMS") */
extern DECLSPEC void SDLCALL SDL_ANDROID_RestartMyself(const char *restartParams);
#ifdef __cplusplus
}
#endif