The Battle for Wesnoth  1.17.4+dev
Functions
manager_ui.hpp File Reference
#include <string>
#include <vector>
Include dependency graph for manager_ui.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool manage_addons ()
 Shows the add-ons server connection dialog, for access to the various management front-ends. More...
 
bool ad_hoc_addon_fetch_session (const std::vector< std::string > &addon_ids)
 Conducts an ad-hoc add-ons server connection to download an add-on with a particular id and all it's dependencies. More...
 

Function Documentation

◆ ad_hoc_addon_fetch_session()

bool ad_hoc_addon_fetch_session ( const std::vector< std::string > &  addon_ids)

◆ manage_addons()

bool manage_addons ( )

Shows the add-ons server connection dialog, for access to the various management front-ends.

Returns
true when one or more add-ons have been successfully installed or removed, thus requiring a local WML cache refresh. false otherwise.

Definition at line 231 of file manager_ui.cpp.

References preferences::campaign_server(), gui2::dialogs::modal_dialog::get_retval(), installed_addons(), gui2::OK, and gui2::dialogs::modal_dialog::show().

Referenced by gui2::dialogs::title_screen::pre_show().