diff options
author | crupest <crupest@outlook.com> | 2021-10-14 21:58:14 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-14 21:58:14 +0800 |
commit | d3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95 (patch) | |
tree | f88c16c14c187db9cade505b6ed6153a0630c6e9 /include/cru/osx/gui/UiApplication.hpp | |
parent | 5ba45b02e1adee6b1ba15d70c9052cbc1f3c26c5 (diff) | |
download | cru-d3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95.tar.gz cru-d3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95.tar.bz2 cru-d3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95.zip |
...
Diffstat (limited to 'include/cru/osx/gui/UiApplication.hpp')
-rw-r--r-- | include/cru/osx/gui/UiApplication.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cru/osx/gui/UiApplication.hpp b/include/cru/osx/gui/UiApplication.hpp index 5de0cc6b..a7b88010 100644 --- a/include/cru/osx/gui/UiApplication.hpp +++ b/include/cru/osx/gui/UiApplication.hpp @@ -6,12 +6,15 @@ #include <memory> namespace cru::platform::gui::osx { +class OsxWindow; + namespace details { class OsxUiApplicationPrivate; } class OsxUiApplication : public OsxGuiResource, public virtual IUiApplication { friend details::OsxUiApplicationPrivate; + friend OsxWindow; public: OsxUiApplication(); @@ -44,6 +47,8 @@ class OsxUiApplication : public OsxGuiResource, public virtual IUiApplication { ICursorManager* GetCursorManager() override; private: + void UnregisterWindow(OsxWindow* window); + std::unique_ptr<details::OsxUiApplicationPrivate> p_; }; } // namespace cru::platform::gui::osx |