mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
24 lines
455 B
C++
24 lines
455 B
C++
#ifndef SETTINGS_NODE_H
|
|
#define SETTINGS_NODE_H
|
|
|
|
#include "../node.h"
|
|
|
|
namespace Settings {
|
|
|
|
class SettingsNode : public Node {
|
|
public:
|
|
constexpr SettingsNode(I18n::Message label = I18n::Message::Default, const SettingsNode * children = nullptr, int numberOfChildren = 0) :
|
|
Node(label, numberOfChildren),
|
|
m_children(children)
|
|
{
|
|
};
|
|
const Node * children(int index) const override;
|
|
private:
|
|
const SettingsNode * m_children;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|