Numworks Epsilon  1.4.1
Graphing Calculator Operating System
settings_message_tree.h
Go to the documentation of this file.
1 #ifndef SETTINGS_MESSAGE_TREE_H
2 #define SETTINGS_MESSAGE_TREE_H
3 #include <escher/message_tree.h>
4 #include <apps/i18n.h>
5 
6 namespace Settings {
7 
9 public:
10  constexpr SettingsMessageTree(I18n::Message label = I18n::Message::Default, const SettingsMessageTree * children = nullptr, int numberOfChildren = 0) :
12  m_children(children)
13  {
14  };
15  const MessageTree * children(int index) const override;
16 private:
17  const SettingsMessageTree * m_children;
18 };
19 
20 }
21 
22 #endif
23 
int numberOfChildren() const
Definition: message_tree.cpp:3
I18n::Message label() const
Definition: message_tree.cpp:7
constexpr SettingsMessageTree(I18n::Message label=I18n::Message::Default, const SettingsMessageTree *children=nullptr, int numberOfChildren=0)
const MessageTree * children(int index) const override
Definition: app.cpp:5