The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Functions | Variables
addon_utils.cpp File Reference
#include "server/campaignd/addon_utils.hpp"
#include "config.hpp"
#include "filesystem.hpp"
#include "log.hpp"
#include "serialization/string_utils.hpp"
#include "addon/validation.hpp"
#include <boost/algorithm/string.hpp>
Include dependency graph for addon_utils.cpp:

Go to the source code of this file.

Namespaces

 campaignd
 

Macros

#define LOG_CS   LOG_STREAM_NAMELESS(err, log_network)
 

Functions

std::string campaignd::format_addon_feedback_url (const std::string &format, const config &params)
 Format a feedback URL for an add-on. More...
 
void campaignd::support_translation (config &addon, const std::string &locale_id)
 
void campaignd::find_translations (const config &base_dir, config &addon)
 Scans an add-on archive directory for translations. More...
 
void campaignd::add_license (config &cfg)
 Adds a COPYING.txt file with the full text of the GNU GPL to an add-on. More...
 
std::map< version_info, configcampaignd::get_version_map (config &addon)
 
bool campaignd::data_apply_removelist (config &data, const config &removelist)
 
void campaignd::data_apply_addlist (config &data, const config &addlist)
 

Variables

static lg::log_domain log_network ("network")
 
const std::string campaignd::illegal_markup_chars = "*`~{^}|@#<&"
 Markup characters recognized by GUI1 code. More...
 

Macro Definition Documentation

◆ LOG_CS

#define LOG_CS   LOG_STREAM_NAMELESS(err, log_network)

Definition at line 28 of file addon_utils.cpp.

Variable Documentation

◆ log_network

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