20 MenuCfg(
const std::string& _name,
const std::string& _text,
const std::string& _iconPath = std::string());
49 MenuCfg* addMenu(
const std::string& _name,
const std::string& _text,
const std::string& _iconPath = std::string());
56 MenuButtonCfg* addButton(
const std::string& _name,
const std::string& _text,
const std::string& _iconPath = std::string(),
MenuButtonCfg::ButtonAction _action = MenuButtonCfg::ButtonAction::NotifyOwner);
59 void addSeparator(
void);
63 MenuButtonCfg* findMenuButton(
const std::string& _name)
const;
65 const std::list<MenuEntryCfg*>&
getEntries(
void)
const {
return m_childs; };
68 bool isEmpty(
void)
const;
73 std::list<MenuEntryCfg*> m_childs;
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30