71 std::set<std::string> modsList;
89 std::string name =
info->getName();
92 info->getDescription(),
"",
"",
this, name,
94 if (modsList.find(name) != modsList.end())
108 std::string modsString;
109 const std::set<SetupItem*> &modsList =
getAllItems();
110 FOR_EACH (std::set<SetupItem*>::const_iterator, it, modsList)
115 const std::string val = item->
getValue();
119 if (!modsString.empty())
120 modsString.append(
"|");
121 modsString.append(key);
std::string getValue(const std::string &key, const std::string &deflt) const
void setValue(const std::string &key, const std::string &value)
ContainerPlacer getPlacer(const int x, const int y)
void setValue(const std::string &str)
std::string getValue() const
std::string getEventName() const
virtual void toWidget()=0
void setName(const std::string &name)
Setup_Mods(const Widget2 *const widget)
Configuration serverConfig
#define FOR_EACH(type, iter, array)
const bool MainConfig_true
ModInfos::const_iterator ModInfoCIterator
std::map< std::string, ModInfo * > ModInfos
bool info(InputEvent &event)
const ModInfos & getAll()
const bool Separator_false
std::string & replaceAll(std::string &context, const std::string &from, const std::string &to)
void splitToStringSet(std::set< std::string > &tokens, const std::string &text, const char separator)