6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef APPS_NODE_H
#define APPS_NODE_H
#include "i18n.h"
class Node {
public:
constexpr Node(I18n::Message label = I18n::Message::Default, int numberOfChildren = 0) :
m_label(label),
m_numberOfChildren(numberOfChildren)
{
};
virtual const Node * children(int index) const = 0;
I18n::Message label() const;
int numberOfChildren() const;
bool isNull() const;
protected:
I18n::Message m_label;
int m_numberOfChildren;
};
#endif
|