aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/gui/GodWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/win/gui/GodWindow.h')
-rw-r--r--include/cru/win/gui/GodWindow.h39
1 files changed, 0 insertions, 39 deletions
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 <memory>
-
-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<WindowNativeMessageEventArgs&>* MessageEvent() {
- return &message_event_;
- }
-
- private:
- WinUiApplication* application_;
-
- std::unique_ptr<WindowClass> god_window_class_;
- HWND hwnd_;
-
- Event<WindowNativeMessageEventArgs&> message_event_;
-};
-} // namespace cru::platform::gui::win