#include <map>
#include <exception>
#include <string>
#include <functional>
Go to the source code of this file.
◆ SYNCED_COMMAND_HANDLER_FUNCTION
#define SYNCED_COMMAND_HANDLER_FUNCTION |
( |
|
pname, |
|
|
|
pcfg, |
|
|
|
use_undo, |
|
|
|
show, |
|
|
|
error_handler |
|
) |
| |
Value:
static
synced_command synced_command_action_##pname(#pname, &synced_command_func_##pname); \
A config object defines a single node in a WML file, with access to child nodes.
std::function< void(const std::string &)> error_handler_function
void show(const std::string &window_id, const t_string &message, const point &mouse, const SDL_Rect &source_rect)
Shows a tip.
Definition at line 51 of file synced_commands.hpp.