45 typedef std::map<std::string, handler>
map;
void(* handler)(const queued_event &, const vconfig &)
static map registry_
Tracks the known action handlers.
static const map & registry()
static map::const_iterator begin()
The first registered action.
std::map< std::string, handler > map
wml_action(const std::string &tag, handler function)
Using this constructor for a static object outside action_wml.cpp will likely lead to a static initia...
static map::const_iterator end()
One past the last registered action.
A variable-expanding proxy for the config class.
std::string tag(const std::string &tag_name, Args &&... contents)