supertux
|
Checks for, installs and removes Add-ons. More...
#include <addon_manager.hpp>
Public Types | |
using | AddonMap = std::map< AddonId, std::unique_ptr< Addon > > |
Public Member Functions | |
AddonManager (const std::string &addon_directory, std::vector< Config::Addon > &addon_config) | |
void | empty_cache_directory () |
bool | has_online_support () const |
bool | has_been_updated () const |
void | check_online () |
TransferStatusPtr | request_check_online () |
std::vector< AddonId > | get_repository_addons () const |
std::vector< AddonId > | get_installed_addons () const |
Addon & | get_repository_addon (const AddonId &addon) const |
Addon & | get_installed_addon (const AddonId &addon) const |
TransferStatusListPtr | request_install_addon (const AddonId &addon_id) |
TransferStatusListPtr | request_install_addon_dependencies (const AddonId &addon_id) |
void | install_addon (const AddonId &addon_id) |
void | uninstall_addon (const AddonId &addon_id) |
void | install_addon_from_local_file (const std::string &filename) |
TransferStatusListPtr | request_download_addon_screenshots (const AddonId &addon_id) |
std::vector< std::string > | get_local_addon_screenshots (const AddonId &addon_id) |
void | enable_addon (const AddonId &addon_id) |
void | disable_addon (const AddonId &addon_id) |
bool | is_old_enabled_addon (const std::unique_ptr< Addon > &addon) const |
bool | is_old_addon_enabled () const |
void | disable_old_addons () |
void | mount_old_addons () |
void | unmount_old_addons () |
bool | is_from_old_addon (const std::string &filename) const |
bool | is_addon_installed (const std::string &id) const |
std::vector< AddonId > | get_depending_addons (const std::string &id) const |
void | update () |
void | check_for_langpack_updates () |
Additional Inherited Members | |
![]() | |
static AddonManager * | current () |
Checks for, installs and removes Add-ons.