Go to the source code of this file.
Classes | |
struct | addon_tracking_info |
Stores additional status information about add-ons. More... | |
Typedefs | |
typedef std::map< std::string, addon_tracking_info > | addons_tracking_list |
Enumerations | |
enum | ADDON_STATUS { ADDON_NONE, ADDON_INSTALLED, ADDON_INSTALLED_UPGRADABLE, ADDON_INSTALLED_OUTDATED, ADDON_INSTALLED_BROKEN, ADDON_NOT_TRACKED } |
Defines various add-on installation statuses. More... | |
enum | ADDON_STATUS_FILTER { FILTER_ALL, FILTER_INSTALLED, FILTER_UPGRADABLE, FILTER_NOT_INSTALLED, FILTER_COUNT } |
Add-on installation status filters for the user interface. More... | |
enum | ADDON_SORT { SORT_NAMES, SORT_UPDATED, SORT_CREATED } |
Add-on fallback/default sorting criteria for the user interface. More... | |
enum | ADDON_SORT_DIRECTION { DIRECTION_ASCENDING, DIRECTION_DESCENDING } |
Add-on fallback/default sorting direction. More... | |
Functions | |
bool | is_installed_addon_status (ADDON_STATUS s) |
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. More... | |
typedef std::map<std::string, addon_tracking_info> addons_tracking_list |
enum ADDON_SORT |
enum ADDON_SORT_DIRECTION |
enum ADDON_STATUS |
Defines various add-on installation statuses.
Enumerator | |
---|---|
ADDON_NONE |
Add-on is not installed. |
ADDON_INSTALLED |
Version in the server matches local installation. |
ADDON_INSTALLED_UPGRADABLE |
Version in the server is newer than local installation. |
ADDON_INSTALLED_OUTDATED |
Version in the server is older than local installation. |
ADDON_INSTALLED_BROKEN |
Dependencies not satisfied.
|
ADDON_NOT_TRACKED |
No tracking information available. |
enum ADDON_STATUS_FILTER |
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.
The add-on doesn't need to be locally installed; this is part of the retrieved information.
addon | The add-ons server entry information. |
Definition at line 26 of file state.cpp.
References ADDON_INSTALLED, ADDON_INSTALLED_OUTDATED, ADDON_INSTALLED_UPGRADABLE, ADDON_NONE, addon_tracking_info::can_publish, get_addon_pbl_info(), get_addon_version_info(), config::has_attribute(), have_addon_in_vcs_tree(), have_addon_pbl_info(), addon_info::id, addon_tracking_info::in_version_control, addon_tracking_info::installed_version, is_addon_installed(), addon_tracking_info::remote_version, addon_tracking_info::state, and addon_info::version.
Referenced by gui2::taddon_list::pre_show().
|
inline |
Definition at line 38 of file state.hpp.
References ADDON_INSTALLED, and ADDON_NOT_TRACKED.