16 #define GETTEXT_DOMAIN "wesnoth-lib"
40 const replacements_map::const_iterator itor = replacements.find(
id);
41 if(itor != replacements.end()) {
42 return itor->second->build();
45 return builder.
build();
A config object defines a single node in a WML file, with access to child nodes.
Contains the implementation details for lexical_cast and shouldn't be used directly.
virtual std::unique_ptr< widget > build() const override
config configuration
Holds a copy of the cfg parameter in the constructor.
builder_instance(const config &cfg)
virtual std::unique_ptr< widget > build() const override