blob: 562137f142a53895e355152a1561d39ada72f914 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 | #pragma once
#include "Control.hpp"
namespace cru::ui::controls {
class NoChildControl : public Control {
 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;
 private:
  using Control::AddChild;
  using Control::RemoveChild;
};
}  // namespace cru::ui
 |