23 virtual bool executeAction(
const std::string &action, rapidjson::Document &doc) = 0;
31 void addMenuPage(
const std::string &menu);
32 void addMenuGroup(
const std::string &menu,
const std::string &group);
33 void addMenuSubgroup(
const std::string &menu,
const std::string &group,
const std::string &subgroup);
34 void addMenuAction(
const std::string &menu,
const std::string &group,
const std::string &buttonName,
const std::string &text,
const LockTypeFlags& flags,
const std::string &iconName,
const std::string &iconFolder = std::string(
"Default"));
35 void addMenuAction(
const std::string &menu,
const std::string &group,
const std::string &subgroup,
const std::string &buttonName,
const std::string &text,
const LockTypeFlags& flags,
const std::string &iconName,
const std::string &iconFolder = std::string(
"Default"));
36 void addMenuCheckBox(
const std::string &menu,
const std::string &group,
const std::string &subgroup,
const std::string &boxName,
const std::string &boxText,
bool checked,
const LockTypeFlags& flags);
37 void addMenuLineEdit(
const std::string &menu,
const std::string &group,
const std::string &subgroup,
const std::string &editName,
const std::string &editText,
const std::string &editLabel,
const LockTypeFlags& flags);
38 void setMenuCheckBox(
const std::string &menu,
const std::string &group,
const std::string &subgroup,
const std::string &boxName,
bool checked);
39 void setMenuLineEdit(
const std::string &menu,
const std::string &group,
const std::string &subgroup,
const std::string &editName,
const std::string &editText,
bool error);
45 std::string actionMenuID;
46 std::string actionButtonID;
48 std::map<std::string, bool> uiMenuMap;
49 std::map<std::string, bool> uiGroupMap;
50 std::map<std::string, bool> uiSubGroupMap;
51 std::map<std::string, bool> uiActionMap;