blob: 1b864b20d7eb05f06c871c35e18c8b68c705d98e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "Control.h"
namespace cru::ui::controls {
class CRU_UI_API 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;
public:
void ForEachChild(const std::function<void(Control*)>& callback) override;
};
} // namespace cru::ui::controls
|