From 9e0c9d3499bc50c3534b4dc500d8b5d0b5f22752 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 15 May 2022 13:56:40 +0800 Subject: ... --- include/cru/win/gui/GodWindow.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 include/cru/win/gui/GodWindow.h (limited to 'include/cru/win/gui/GodWindow.h') diff --git a/include/cru/win/gui/GodWindow.h b/include/cru/win/gui/GodWindow.h deleted file mode 100644 index fe61c80d..00000000 --- a/include/cru/win/gui/GodWindow.h +++ /dev/null @@ -1,39 +0,0 @@ -#pragma once -#include "Base.h" - -#include "WindowNativeMessageEventArgs.h" -#include "cru/common/Event.h" -#include "cru/common/String.h" - -#include - -namespace cru::platform::gui::win { -class CRU_WIN_GUI_API GodWindow : public Object { - CRU_DEFINE_CLASS_LOG_TAG(u"GodWindow") - - public: - explicit GodWindow(WinUiApplication* application); - - CRU_DELETE_COPY(GodWindow) - CRU_DELETE_MOVE(GodWindow) - - ~GodWindow() override; - - HWND GetHandle() const { return hwnd_; } - - bool HandleGodWindowMessage(HWND hwnd, UINT msg, WPARAM w_param, - LPARAM l_param, LRESULT* result); - - IEvent* MessageEvent() { - return &message_event_; - } - - private: - WinUiApplication* application_; - - std::unique_ptr god_window_class_; - HWND hwnd_; - - Event message_event_; -}; -} // namespace cru::platform::gui::win -- cgit v1.2.3