aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl-window.h
diff options
context:
space:
mode:
authorJohannes Schickel2015-02-16 02:13:11 +0100
committerJohannes Schickel2015-02-16 02:13:11 +0100
commit3745ddbefd6ab401458b862d124ebe80592a88bc (patch)
tree81b5cd632d4032bb7dc5e58b3f7a2642faad4ee4 /backends/platform/sdl/sdl-window.h
parent3f22c12c56572d7c0b46e734179255062f81f45c (diff)
downloadscummvm-rg350-3745ddbefd6ab401458b862d124ebe80592a88bc.tar.gz
scummvm-rg350-3745ddbefd6ab401458b862d124ebe80592a88bc.tar.bz2
scummvm-rg350-3745ddbefd6ab401458b862d124ebe80592a88bc.zip
WIN32: Add experimental SDL2 support.
Based on changes by aquadran.
Diffstat (limited to 'backends/platform/sdl/sdl-window.h')
-rw-r--r--backends/platform/sdl/sdl-window.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/backends/platform/sdl/sdl-window.h b/backends/platform/sdl/sdl-window.h
index 46997f373d..cc54673f4c 100644
--- a/backends/platform/sdl/sdl-window.h
+++ b/backends/platform/sdl/sdl-window.h
@@ -27,6 +27,8 @@
#include "common/str.h"
+struct SDL_SysWMinfo;
+
class SdlWindow {
public:
SdlWindow();
@@ -65,6 +67,14 @@ public:
*/
void iconifyWindow();
+ /**
+ * Query platform specific SDL window manager information.
+ *
+ * Since this is an SDL internal structure clients are responsible
+ * for accessing it in a version safe manner.
+ */
+ bool getSDLWMInformation(SDL_SysWMinfo *info) const;
+
#if SDL_VERSION_ATLEAST(2, 0, 0)
public:
/**