summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-03-26 11:21:43 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-03-26 12:28:07 +0200
commitb0cf022ea75b763531e6ae63abccadf2bfa7a84b (patch)
treea113840f350f45c907d14597d5765f402201a164 /plugingui/nativewindow.h
parenta56b3d5eac05d0f51757d510553ad2d23b60235b (diff)
Make plugingui test app nest the UI in a native window.
Diffstat (limited to 'plugingui/nativewindow.h')
-rw-r--r--plugingui/nativewindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/nativewindow.h b/plugingui/nativewindow.h
index c6ca7c8..b4429af 100644
--- a/plugingui/nativewindow.h
+++ b/plugingui/nativewindow.h
@@ -80,6 +80,9 @@ public:
//! Reads all currently enqueued events from the native window system.
//! \return A queue of shared pointers to events.
virtual EventQueue getEvents() = 0;
+
+ // \returns the native window handle, it HWND on Win32 or Window id on X11
+ virtual void* getNativeWindowHandle() const = 0;
};
} // GUI::