adds GDK suspend/resume basic handling (#6596)

(cherry picked from commit f6144dfe03)
This commit is contained in:
Ciro Mondueri
2022-11-23 16:41:14 -03:00
committed by Sam Lantinga
parent a5b0583b7c
commit 896e200d94
4 changed files with 54 additions and 0 deletions

View File

@@ -254,6 +254,12 @@ extern DECLSPEC int SDLCALL SDL_UIKitRunApp(int argc, char *argv[], SDL_main_fun
*/
extern DECLSPEC int SDLCALL SDL_GDKRunApp(SDL_main_func mainFunction, void *reserved);
/**
* Callback from the application to let the suspend continue.
*
*/
extern DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void);
#endif /* __GDK__ */
#ifdef __cplusplus