The Battle for Wesnoth  1.19.7+dev
Macros | Functions | Variables
playturn_network_adapter.cpp File Reference
#include "playturn_network_adapter.hpp"
#include "log.hpp"
#include "utils/general.hpp"
#include <cassert>
#include <functional>
#include <utility>
Include dependency graph for playturn_network_adapter.cpp:

Go to the source code of this file.

Macros

#define DBG_NW   LOG_STREAM(debug, log_network)
 
#define LOG_NW   LOG_STREAM(info, log_network)
 
#define ERR_NW   LOG_STREAM(err, log_network)
 

Functions

static bool read_config (config &src, config &dst)
 

Variables

static lg::log_domain log_network ("network")
 

Macro Definition Documentation

◆ DBG_NW

#define DBG_NW   LOG_STREAM(debug, log_network)

Definition at line 25 of file playturn_network_adapter.cpp.

◆ ERR_NW

#define ERR_NW   LOG_STREAM(err, log_network)

Definition at line 27 of file playturn_network_adapter.cpp.

◆ LOG_NW

#define LOG_NW   LOG_STREAM(info, log_network)

Definition at line 26 of file playturn_network_adapter.cpp.

Function Documentation

◆ read_config()

static bool read_config ( config src,
config dst 
)
static

Definition at line 159 of file playturn_network_adapter.cpp.

References dst, rect::empty(), and src.

Referenced by playturn_network_adapter::get_source_from_config().

Variable Documentation

◆ log_network

lg::log_domain log_network("network") ( "network"  )
static