16 #ifndef CAMPAIGN_SERVER_ADDON_UTILS_HPP_INCLUDED
17 #define CAMPAIGN_SERVER_ADDON_UTILS_HPP_INCLUDED
34 return illegal_markup_chars.find(c) != std::string::npos;
void add_license(config &cfg)
Adds a COPYING.txt file with the full text of the GNU GPL to an add-on.
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
bool is_text_markup_char(char c)
void find_translations(const config &base_dir, config &addon)
Scans an add-on archive directory for translations.
const std::string illegal_markup_chars
Markup characters recognized by GUI1 code.
A config object defines a single node in a WML file, with access to child nodes.
std::string format_addon_feedback_url(const std::string &format, const config ¶ms)
Format a feedback URL for an add-on.
GLsizei const GLcharARB ** string