The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Macros
synced_commands.hpp File Reference
#include <map>
#include <exception>
#include "utils/functional.hpp"
Include dependency graph for synced_commands.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  synced_command
 

Macros

#define SYNCED_COMMAND_HANDLER_FUNCTION(pname, pcfg, use_undo, show, error_handler)
 

Macro Definition Documentation

#define SYNCED_COMMAND_HANDLER_FUNCTION (   pname,
  pcfg,
  use_undo,
  show,
  error_handler 
)
Value:
static bool synced_command_func_##pname(const config & pcfg, bool use_undo, bool show, synced_command::error_handler_function error_handler ); \
static synced_command synced_command_action_##pname(#pname, &synced_command_func_##pname); \
static bool synced_command_func_##pname(const config & pcfg, bool use_undo, bool show, synced_command::error_handler_function error_handler)
void show(CVideo &video, const std::string &window_id, const t_string &message, const tpoint &mouse)
Shows a tip.
Definition: tip.cpp:133
GLenum pname
Definition: glew.h:1656
std::function< void(const std::string &, bool)> error_handler_function
A config object defines a single node in a WML file, with access to child nodes.
Definition: config.hpp:83

Definition at line 53 of file synced_commands.hpp.