diff options
author | crupest <crupest@outlook.com> | 2019-04-04 17:12:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-04 17:12:25 +0800 |
commit | a410e2048db6f5ef6fb50e401a59b4b98b979050 (patch) | |
tree | 500680c63b074e8c3eefd756fd6a1d0f41840c1a /src/ui/no_child_control.hpp | |
parent | fcaf471275a67d718887430ee63a53890915c4c7 (diff) | |
download | cru-a410e2048db6f5ef6fb50e401a59b4b98b979050.tar.gz cru-a410e2048db6f5ef6fb50e401a59b4b98b979050.tar.bz2 cru-a410e2048db6f5ef6fb50e401a59b4b98b979050.zip |
...
Diffstat (limited to 'src/ui/no_child_control.hpp')
-rw-r--r-- | src/ui/no_child_control.hpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ui/no_child_control.hpp b/src/ui/no_child_control.hpp deleted file mode 100644 index 26b5546f..00000000 --- a/src/ui/no_child_control.hpp +++ /dev/null @@ -1,26 +0,0 @@ -#pragma once -#include "pre.hpp" - -#include "control.hpp" - -namespace cru::ui { -class NoChildControl : public Control { - private: - static const std::vector<Control*> empty_control_vector; - - protected: - NoChildControl() = default; - - public: - NoChildControl(const NoChildControl& other) = delete; - NoChildControl(NoChildControl&& other) = delete; - NoChildControl& operator=(const NoChildControl& other) = delete; - NoChildControl& operator=(NoChildControl&& other) = delete; - ~NoChildControl() override = default; - - protected: - const std::vector<Control*>& GetChildren() const override final { - return empty_control_vector; - } -}; -} // namespace cru::ui |