The Battle for Wesnoth  1.15.1+dev
Functions | Variables
deprecation.cpp File Reference
#include "deprecation.hpp"
#include "formula/string_utils.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "preferences/general.hpp"
#include "game_version.hpp"
Include dependency graph for deprecation.cpp:

Go to the source code of this file.

Functions

std::string deprecated_message (const std::string &elem_name, DEP_LEVEL level, const version_info &version, const std::string &detail)
 

Variables

static lg::log_domain log_deprecate ("deprecation", -1)
 

Function Documentation

◆ deprecated_message()

std::string deprecated_message ( const std::string &  elem_name,
DEP_LEVEL  level,
const version_info version,
const std::string &  detail 
)

Variable Documentation

◆ log_deprecate

lg::log_domain log_deprecate("deprecation", -1)
static

Referenced by deprecated_message().