diff options
| author | crupest <crupest@outlook.com> | 2019-04-10 19:42:46 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2019-04-10 19:42:46 +0800 |
| commit | 7351020a582d70a1495249fba87d342c8a1fb634 (patch) | |
| tree | e80f225041dc3816b3dce21c7e15aadbb211602e /include/cru/platform/win/god_window.hpp | |
| parent | a94a806f69586e08a30fff0cdb3e52b0ce7acfa5 (diff) | |
| download | cru-7351020a582d70a1495249fba87d342c8a1fb634.tar.gz cru-7351020a582d70a1495249fba87d342c8a1fb634.tar.bz2 cru-7351020a582d70a1495249fba87d342c8a1fb634.zip | |
Refactor.
Diffstat (limited to 'include/cru/platform/win/god_window.hpp')
| -rw-r--r-- | include/cru/platform/win/god_window.hpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/include/cru/platform/win/god_window.hpp b/include/cru/platform/win/god_window.hpp deleted file mode 100644 index 95a253e9..00000000 --- a/include/cru/platform/win/god_window.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#include "win_pre_config.hpp" - -#include <memory> - -#include "cru/common/base.hpp" - -namespace cru::platform::win { -class WinApplication; -class WindowClass; - -class GodWindow : public Object { - public: - explicit GodWindow(WinApplication* application); - GodWindow(const GodWindow& other) = delete; - GodWindow(GodWindow&& other) = delete; - GodWindow& operator=(const GodWindow& other) = delete; - GodWindow& operator=(GodWindow&& other) = delete; - ~GodWindow() override; - - HWND GetHandle() const { return hwnd_; } - - bool HandleGodWindowMessage(HWND hwnd, UINT msg, WPARAM w_param, - LPARAM l_param, LRESULT* result); - - private: - WinApplication* application_; - - std::shared_ptr<WindowClass> god_window_class_; - HWND hwnd_; -}; -} // namespace cru::platform::win
\ No newline at end of file |
