diff options
author | crupest <crupest@outlook.com> | 2019-03-31 19:48:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-03-31 19:48:20 +0800 |
commit | 8ca0873597eb05a2f120d3ea107660abcff4533c (patch) | |
tree | f2089ad1a420ae0f21ba0d84b5031de3b5e489ca /include/cru/platform/win/god_window.hpp | |
parent | 9cc0f5d9192288116443254d790aa9ab36572b8d (diff) | |
download | cru-8ca0873597eb05a2f120d3ea107660abcff4533c.tar.gz cru-8ca0873597eb05a2f120d3ea107660abcff4533c.tar.bz2 cru-8ca0873597eb05a2f120d3ea107660abcff4533c.zip |
...
Diffstat (limited to 'include/cru/platform/win/god_window.hpp')
-rw-r--r-- | include/cru/platform/win/god_window.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/cru/platform/win/god_window.hpp b/include/cru/platform/win/god_window.hpp index 534dfedb..95a253e9 100644 --- a/include/cru/platform/win/god_window.hpp +++ b/include/cru/platform/win/god_window.hpp @@ -2,7 +2,6 @@ #include "win_pre_config.hpp" #include <memory> -#include <optional> #include "cru/common/base.hpp" @@ -21,8 +20,8 @@ class GodWindow : public Object { HWND GetHandle() const { return hwnd_; } - std::optional<LRESULT> HandleGodWindowMessage(HWND hwnd, int msg, - WPARAM w_param, LPARAM l_param); + bool HandleGodWindowMessage(HWND hwnd, UINT msg, WPARAM w_param, + LPARAM l_param, LRESULT* result); private: WinApplication* application_; |