Blame view

Giac_maj/epsilon-giac/apps/settings/settings_node.h 455 Bytes
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 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