diff options
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 |