18 #include "addon/manager.hpp" 22 #define LOG_AC LOG_STREAM(info, log_addons_client) 26 const std::string&
id = addon.
id;
bool has_attribute(config_key_type key) const
bool is_addon_installed(const std::string &addon_name)
Check whether the specified add-on is currently installed.
bool have_addon_in_vcs_tree(const std::string &addon_name)
Returns whether the specified add-on appears to be managed by a VCS or not.
Definitions for the interface to Wesnoth Markup Language (WML).
version_info installed_version
version_info get_addon_version_info(const std::string &addon)
Returns a particular installed add-on's version information.
Version in the server is older than local installation.
Version in the server is newer than local installation.
static lg::log_domain log_addons_client("addons-client")
config get_addon_pbl_info(const std::string &addon_name)
Gets the publish information for an add-on.
bool have_addon_pbl_info(const std::string &addon_name)
Returns whether a .pbl file is present for the specified add-on or not.
No version in the server.
std::set< version_info, std::greater< version_info > > versions
Represents version numbers.
addon_tracking_info get_addon_tracking_info(const addon_info &addon)
Get information about an add-on comparing its local state with the add-ons server entry...
Standard logging facilities (interface).
Stores additional status information about add-ons.
A config object defines a single node in a WML file, with access to child nodes.
version_info current_version
version_info remote_version
Version in the server matches local installation.