Files
Upsilon/apps/toolbox_node.h
Émilie Feral b220ed5dd8 [apps] change name toolBox->toolbox
Change-Id: I55c72fdfdf0334de6c1da55224bb8e2abecba135
2016-11-10 17:29:48 +01:00

23 lines
514 B
C++

#ifndef APPS_TOOLBOX_NODE_H
#define APPS_TOOLBOX_NODE_H
#include "node.h"
class ToolboxNode : public Node {
public:
constexpr ToolboxNode(const char * label = nullptr, const char * text = nullptr, const ToolboxNode * children = nullptr, int numberOfChildren = 0) :
Node(label, numberOfChildren),
m_children(children),
m_text(text)
{
};
const Node * children(int index) const override;
const char * text() const;
private:
const ToolboxNode * m_children;
const char * m_text;
};
#endif