diff options
author | crupest <crupest@outlook.com> | 2022-03-28 21:46:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-03-28 21:46:40 +0800 |
commit | 91695b78f565239223fc6f3a10b0219b8dc1b6f8 (patch) | |
tree | 712e8bebcec4377a7b5b5d8aa80daec08e0fa3b4 /include/cru/ui/components | |
parent | bfa89c0efd310c07e4255b45f99a2f05338fbe3f (diff) | |
download | cru-91695b78f565239223fc6f3a10b0219b8dc1b6f8.tar.gz cru-91695b78f565239223fc6f3a10b0219b8dc1b6f8.tar.bz2 cru-91695b78f565239223fc6f3a10b0219b8dc1b6f8.zip |
...
Diffstat (limited to 'include/cru/ui/components')
-rw-r--r-- | include/cru/ui/components/Component.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/cru/ui/components/Component.h b/include/cru/ui/components/Component.h index 34add594..2625f445 100644 --- a/include/cru/ui/components/Component.h +++ b/include/cru/ui/components/Component.h @@ -1,5 +1,6 @@ #pragma once #include "../Base.h" +#include "../DeleteLater.h" #include "cru/common/SelfResolvable.h" namespace cru::ui::components { @@ -8,7 +9,9 @@ namespace cru::ui::components { * \remarks Component should respect children's Component::IsDeleteByParent * value and decide whether to delete it. */ -class CRU_UI_API Component : public Object, public SelfResolvable<Component> { +class CRU_UI_API Component : public Object, + public SelfResolvable<Component>, + public DeleteLaterImpl { public: Component() = default; |