diff options
author | Vincent Bénony | 2015-12-07 14:12:16 +0100 |
---|---|---|
committer | Vincent Bénony | 2016-01-06 16:17:35 +0100 |
commit | e9378ccf3e07fc564daafd5099f95439d7b612a3 (patch) | |
tree | 2e5e264800cebb7653d8719273aabffedff45324 /backends/platform/ios7/ios7_osys_main.h | |
parent | 5b15f06b9299a27be5df028855ee6b592361bdf3 (diff) | |
download | scummvm-rg350-e9378ccf3e07fc564daafd5099f95439d7b612a3.tar.gz scummvm-rg350-e9378ccf3e07fc564daafd5099f95439d7b612a3.tar.bz2 scummvm-rg350-e9378ccf3e07fc564daafd5099f95439d7b612a3.zip |
IOS: Avoid subclassing UIApplication, and handle multitasking
Diffstat (limited to 'backends/platform/ios7/ios7_osys_main.h')
-rw-r--r-- | backends/platform/ios7/ios7_osys_main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/ios7/ios7_osys_main.h b/backends/platform/ios7/ios7_osys_main.h index 50114a9112..26b147e2a1 100644 --- a/backends/platform/ios7/ios7_osys_main.h +++ b/backends/platform/ios7/ios7_osys_main.h @@ -210,6 +210,8 @@ protected: bool handleEvent_tap(Common::Event &event, UIViewTapDescription type, int touches); void handleEvent_keyPressed(Common::Event &event, int keyPressed); void handleEvent_orientationChanged(int orientation); + void handleEvent_applicationSuspended(); + void handleEvent_applicationResumed(); bool handleEvent_mouseDown(Common::Event &event, int x, int y); bool handleEvent_mouseUp(Common::Event &event, int x, int y); @@ -219,6 +221,8 @@ protected: bool handleEvent_mouseDragged(Common::Event &event, int x, int y); bool handleEvent_mouseSecondDragged(Common::Event &event, int x, int y); + + void rebuildSurface(); }; #endif |