The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
addon_utils.cpp File Reference
#include "campaign_server/addon_utils.hpp"
#include "config.hpp"
#include "filesystem.hpp"
#include "game_config.hpp"
#include "log.hpp"
#include "serialization/string_utils.hpp"
Include dependency graph for addon_utils.cpp:

Go to the source code of this file.

Namespaces

 campaignd
 

Macros

#define LOG_CS   if (lg::err().dont_log(log_network)) ; else lg::err()(log_network, false)
 

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::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...
 

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

#define LOG_CS   if (lg::err().dont_log(log_network)) ; else lg::err()(log_network, false)

Definition at line 25 of file addon_utils.cpp.

Referenced by campaignd::add_license().

Variable Documentation

lg::log_domain log_network("network")
static